Share via


Color Structure

Represents an Alpha Red Green Blue (ARGB) color.

  public struct Color

Public Instance Constructors

Constructor Description
Color(Colors) Initializes a new instance of the Color structure
Color(float, float, float) Initializes a new instance of the Color structure
Color(int, int, int); Initializes a new instance of the Color structure

Public Operators

Operator Description
Equality Tests whether two specified Color structures are equivalent.
Inequality Tests whether two Color structures are different.

Public Instance Methods

Method Description
Equals Tests whether the specified object is a Color structure and is equivalent to the current Color structure.
GetHashCode Returns a hash code for this structure.
ToString Converts this structure to a human-readable string.

Public Instance Properties

Property Description
A Gets or sets the alpha component value of the current Color structure
B Gets or sets the blue component value of the current Color structure.
G Gets or sets the green component value of the current Color structure.
R Gets or sets the red component value of the current Color structure.

Requirements

Reference: Microsoft.MediaCenter.UI

Namespace: Microsoft.MediaCenter.UI

Assembly: Microsoft.MediaCenter.UI.dll

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also