Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
PixelFormatChannelMask Structure
Collapse the table of content
Expand the table of content

PixelFormatChannelMask Structure

Defines the bit mask and shift for a specific pixel formats

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

public struct PixelFormatChannelMask

The PixelFormatChannelMask type exposes the following members.

Public propertyMaskGets the bitmask for a color channel. The value will never be greater then 0xffffffff

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Overrides ValueType.Equals(Object).)
Public methodStatic memberEquals(PixelFormatChannelMask, PixelFormatChannelMask)Determines if two pixel format channel masks are equal.
Public methodGetHashCodeRetrieves a hash code for the mask. (Overrides ValueType.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)

Public operatorStatic memberEquality Compares two PixelFormatChannelMask instances for equality.
Public operatorStatic memberInequalityCompares two PixelFormatChannelMask instances for inequality.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft