Color Methods
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The Color type exposes the following members.
| Name | Description | |
|---|---|---|
|
Equals(Color) | Tests whether the specified Color structure is identical to the current color. |
|
Equals(Object) | Tests whether the specified object is a Color structure and is equivalent to the current color. (Overrides ValueType.Equals(Object).) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
FromArgb | Creates a new Color structure by using the specified sRGB alpha channel and color channel values. |
|
GetHashCode | Gets a hash code for the current Color structure. (Overrides ValueType.GetHashCode().) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString() | Creates a string representation of the color using the ARGB channels in hex notation. (Overrides ValueType.ToString().) |
|
ToString(IFormatProvider) | Creates a string representation of the color by using the ARGB channels and the specified format provider. |
| Name | Description | |
|---|---|---|
|
IFormattable.ToString | Infrastructure. For a description of this member, see ToString. |
Show: