KnownResourceQualifierName 类

定义

包含常见资源限定符的名称,例如语言、系统主题和显示比例。

public ref class KnownResourceQualifierName abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.ApplicationModel.Resources.MrtContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class KnownResourceQualifierName final
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.ApplicationModel.Resources.MrtCoreContract, 65536)]
class KnownResourceQualifierName final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.ApplicationModel.Resources.MrtContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class KnownResourceQualifierName
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.ApplicationModel.Resources.MrtCoreContract), 65536)]
public static class KnownResourceQualifierName
Public Class KnownResourceQualifierName
继承
Object Platform::Object IInspectable KnownResourceQualifierName
属性

属性

Contrast

根据对比度设置获取限定符的名称。

Custom

根据自定义值获取限定符的名称。

DeviceFamily

根据当前设备的系列获取限定符的名称。

HomeRegion

根据当前主区域获取限定符的名称。

Language

根据当前语言获取限定符的名称。

LayoutDirection

根据当前 UI 布局方向获取限定符的名称。

Scale

根据当前显示比例获取限定符的名称。

TargetSize

根据目标大小获取限定符的名称。

Theme

获取基于当前主题的限定符的名称。

适用于