PixelFormats.Gray4 Property

Definition

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

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

Property Value

The Gray4 pixel format.

Remarks

XAML Attribute Usage

<object property="Gray4"/>  

Applies to