Gets a mapping of colors to names, as defined in the WPF Colors class.
Namespace:
Mindscape.WpfPropertyGridAssembly: Mindscape.WpfPropertyGrid (in Mindscape.WpfPropertyGrid)
Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public static Dictionary<Color, string> ColorNames { get; } |
Visual Basic (Declaration) |
---|
Public Shared ReadOnly Property ColorNames As Dictionary(Of Color, String) |
Remarks
In rare cases a color value may have multiple names (e.g. Cyan and Aqua). In such cases,
the ColorNames dictionary will contain only one of these names; which name is chosen is not defined.