Gets a mapping of colors to names, as defined in the WPF Colors class.
Namespace:
Mindscape.WpfElementsAssembly: Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.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.