Condividi tramite


DisplayProperties.NativeOrientation Proprietà

Definizione

Nota

DisplayProperties può essere modificato o non disponibile per le versioni dopo Windows 8.1. Usare invece DisplayInformation.

Ottiene l'orientamento nativo del monitor di visualizzazione, che in genere corrisponde all'orientamento in cui i pulsanti del dispositivo corrispondono all'orientamento del monitor.

public:
 static property DisplayOrientations NativeOrientation { DisplayOrientations 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 DisplayOrientations NativeOrientation();
/// [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 DisplayOrientations NativeOrientation();
public static DisplayOrientations NativeOrientation { [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 DisplayOrientations NativeOrientation { [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 displayOrientations = DisplayProperties.nativeOrientation;
Public Shared ReadOnly Property NativeOrientation As DisplayOrientations

Valore della proprietà

Orientamento nativo del monitor di visualizzazione.

Attributi

Si applica a