PixelFormats.Gray2 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 Gray2 pixel format which displays a 2 bits-per-pixel grayscale channel, allowing 4 shades of gray.
public:
static property System::Windows::Media::PixelFormat Gray2 { System::Windows::Media::PixelFormat get(); };
public static System.Windows.Media.PixelFormat Gray2 { get; }
static member Gray2 : System.Windows.Media.PixelFormat
Public Shared ReadOnly Property Gray2 As PixelFormat
Property Value
The Gray2 pixel format.
Remarks
XAML Attribute Usage
<object property="Gray2"/>
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.