Edit

Share via


PixelFormats.Gray2 Property

Definition

Gets the Gray2 pixel format which displays a 2 bits-per-pixel grayscale channel, allowing 4 shades of gray.

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

Property Value

The Gray2 pixel format.

Remarks

XAML Attribute Usage

<object property="Gray2"/>  

Applies to