PixelFormat::Masks Property


Gets a collection of bit masks associated with the PixelFormat.

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

property IList<PixelFormatChannelMask>^ Masks {
	[SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::UnmanagedCode)]
	IList<PixelFormatChannelMask>^ get();

Property Value

Type: System.Collections.Generic::IList<PixelFormatChannelMask>^

The collection of bit masks and shifts associated with the PixelFormat.

The following example shows how to use the Masks property to get the bit masks associated with the pixel format.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top