Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PixelFormats.Gray4 Property

Definition

Namespace:
System.Windows.Media
Assembly:
PresentationCore.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?