Initializes a new instance of the NamedColor class.
Namespace: Mindscape.PhoneElementsAssembly: Mindscape.PhoneElements (in Mindscape.PhoneElements.dll) Version: 1.0.0.0 (1.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.