Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PixelFormats.Gray8 Property

 

Gets the Gray8 pixel format which displays an 8 bits-per-pixel grayscale channel, allowing 256 shades of gray.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public static PixelFormat Gray8 { get; }

Property Value

Type: System.Windows.Media.PixelFormat

The Gray8 pixel format.

<object property="Gray8"/>

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft