语言

PixelFormats.Default 属性

定义

获取最适合特定操作的像素格式。

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

属性值

最适合 PixelFormat 特定操作。

例外

注解

Default 在技术上不是像素格式,而是访问最适合特定操作的像素格式的方法。 此格式用于特定像素格式不重要的情况。

XAML 属性用法

<object property="Default"/>

适用于