Note: This API is now obsolete. Not necessary for use in Silverlight 4+ or WPF. Please bind to dictionaries directly via keys.
Value converter for getting a value from a Dictionary<string,object> instance. Parameter must be a string key.
Visual Basic (Declaration) | |
---|---|
Public NotInheritable Class DictionaryConverter |
C# | |
---|---|
public sealed class DictionaryConverter |
This class is here for backwards compatibility with earlier releases. However the dictionary converter is no longer needed in Silverlight version 4 and up. Binding to dictionaries can be accomplished by specifying the key in brackets. Example:
{Binding [AttributeKey]}
{Binding SomeDictionary[AttributeKey]}.
{Binding [AttributeKey]}
{Binding SomeDictionary[AttributeKey]}.
System.Object
ESRI.ArcGIS.Client.ValueConverters.DictionaryConverter
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family