Gets a mapping of colors to names, as defined in the Silverlight Colors class.

Namespace: Mindscape.SilverlightElements
Assembly: Mindscape.SilverlightElements (in Mindscape.SilverlightElements.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public static Dictionary<Color, string> ColorNames { get; }
Visual Basic
Public Shared ReadOnly Property ColorNames As Dictionary(Of Color, String)
	Get
Visual C++
public:
static property Dictionary<Color, String^>^ ColorNames {
	Dictionary<Color, String^>^ get ();
}

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.

See Also