PixelFormats.Default Property

Definition

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

public:
 static property System::Windows::Media::PixelFormat Default { System::Windows::Media::PixelFormat get(); };
public static System.Windows.Media.PixelFormat Default { get; }
static member Default : System.Windows.Media.PixelFormat
Public Shared ReadOnly Property Default As PixelFormat

Property Value

The PixelFormat best suited for the particular operation.

Exceptions

The PixelFormat properties are accessed.

Remarks

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.

XAML Attribute Usage

<object property="Default"/>  

Applies to