I have a static Dictionary
class X { static Dictionary MyDict {get { ... }} }
This Dictionary contains Data i want to
I voted up Aaron for the converter and Tobias for indexers, but to actually access the static dictionary, try duplicating the property at the instance level and binding to that
// Code
class X
{
protected static Dictionary StaticDict { get { ... } }
public Dictionary InstanceDict { get { return StaticDict; } }
}
// Xaml
Content="{Binding InstanceDict, Converter = ... } "