Colors.Gray Property

Definition

Gets the system-defined color that has an ARGB value of #FF808080.

public:
 static property System::Windows::Media::Color Gray { System::Windows::Media::Color get(); };
public static System.Windows.Media.Color Gray { get; }
member this.Gray : System.Windows.Media.Color
Public Shared ReadOnly Property Gray As Color

Property Value

Represents colors in terms of alpha, red, green, and blue channels.

Remarks

For more information about color properties, see Colors.

XAML Attribute Usage

<object property="Gray"/>  

Applies to