In This Article

NamedColorShade Class

Defines a Color and name pairing.

public class NamedColorShade
Inheritance:
System.Object Object

Constructors

NamedColorShade(Color, String)

Initializes a new instance of the NamedColorShade class.

public NamedColorShade(Color color, string name)
Parameter Type Description
color System.Windows.Media.Color

The Color value.

name System.String

The color name.

Properties

Color

Gets or sets the Color value.

public Color Color { get; set; }

Property Value

System.Windows.Media.Color:

The Color value.

Name

Gets or sets the color name.

public string Name { get; set; }

Property Value

System.String:

The color name.

Inherited Members

  • System.Object.ToString()
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object, System.Object)
  • System.Object.ReferenceEquals(System.Object, System.Object)
  • System.Object.GetHashCode()
  • System.Object.GetType()
  • System.Object.MemberwiseClone()