Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PixelFormats.Default Property

 

Gets the pixel format that is best suited for the particular operation.

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

public static PixelFormat Default { get; }

Property Value

Type: System.Windows.Media.PixelFormat

The PixelFormat best suited for the particular operation.

Exception Condition
NotSupportedException

The PixelFormat properties are accessed.

Default is technically not a pixel format but rather a way to access the pixel format best suited for a particular operation. This format is used for situations where the specific pixel format is not important.

<object property="Default"/>

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft