Initializes a new instance of the ColorPickerItem class.

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

Syntax

C#
public ColorPickerItem(
	Color color,
	string name
)
Visual Basic
Public Sub New ( _
	color As Color, _
	name As String _
)
Visual C++
public:
ColorPickerItem(
	Color color, 
	String^ name
)

Parameters

color
Type: System.Windows.Media..::..Color
The color selection represented by this ColorPickerItem.
name
Type: System..::..String
The name of the color.

See Also