Initialises a new instance of the NamedColor class.
Namespace: Mindscape.SilverlightElementsAssembly: Mindscape.SilverlightElements (in Mindscape.SilverlightElements.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# |
---|
public NamedColor( string name, Color color ) |
Visual Basic |
---|
Public Sub New ( _ name As String, _ color As Color _ ) |
Visual C++ |
---|
public: NamedColor( String^ name, Color color ) |
Parameters
- name
- Type: System..::..String
The name of the color.
- color
- Type: System.Windows.Media..::..Color
The color value.