Initialises a new instance of the NamedColor class.

Namespace:  Mindscape.WpfPropertyGrid
Assembly:  Mindscape.WpfPropertyGrid (in Mindscape.WpfPropertyGrid)
Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public NamedColor(
	string name,
	Color color
)
Visual Basic (Declaration)
Public Sub New ( _
	name As String, _
	color As Color _
)

Parameters

name
Type: System..::.String
The name of the color.
color
Type: System.Windows.Media..::.Color
The color value.

See Also