PixelFormats.Gray8 Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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