PixelFormats.Gray4 Property
Definition
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.