Compartilhar via


DisplayProperties.ResolutionScale Propriedade

Definição

Observação

DisplayProperties pode ser alterado ou indisponível para versões após Windows 8.1. Em vez disso, use DisplayInformation.

Obtém o fator de escala da janela do aplicativo.

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

Valor da propriedade

O fator de escala da janela do aplicativo.

Atributos

Aplica-se a