DisplayProperties.ResolutionScale プロパティ

定義

Note

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

プロパティ値

アプリ ウィンドウのスケール ファクター。

属性

適用対象