DisplayProperties.ResolutionScale 属性

定义

注意

displayProperties 在Windows 8.1后可能会更改或不可用于发布。 请改用 DisplayInformation

获取应用窗口的比例因子。

public:
 static property ResolutionScale ResolutionScale { ResolutionScale get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("DisplayProperties may be altered or unavailable for releases after Windows Phone 8.1. Instead, use DisplayInformation.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
static ResolutionScale ResolutionScale();
/// [get: Windows.Foundation.Metadata.Deprecated("DisplayProperties may be altered or unavailable for releases after Windows Phone 8.1. Instead, use DisplayInformation.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
static ResolutionScale ResolutionScale();
public static ResolutionScale ResolutionScale { [Windows.Foundation.Metadata.Deprecated("DisplayProperties may be altered or unavailable for releases after Windows Phone 8.1. Instead, use DisplayInformation.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; }
public static ResolutionScale ResolutionScale { [Windows.Foundation.Metadata.Deprecated("DisplayProperties may be altered or unavailable for releases after Windows Phone 8.1. Instead, use DisplayInformation.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; }
var resolutionScale = DisplayProperties.resolutionScale;
Public Shared ReadOnly Property ResolutionScale As ResolutionScale

属性值

应用窗口的比例因子。

属性

适用于