Default Property

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 Shared ReadOnly Property Default As PixelFormat

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