Compartir a través de


DisplayProperties.ResolutionScale Propiedad

Definición

Nota

DisplayProperties puede modificarse o no estar disponible para las versiones después de Windows 8.1. En su lugar, use DisplayInformation.

Obtiene el factor de escala de la ventana de la aplicación.

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 de propiedad

Factor de escala de la ventana de la aplicación.

Atributos

Se aplica a