Share via


DisplayInformation.NativeOrientation Propriété

Définition

Obtient l’orientation native du moniteur d’affichage, qui est généralement l’orientation où les boutons de l’appareil correspondent à l’orientation du moniteur.

public:
 property DisplayOrientations NativeOrientation { DisplayOrientations get(); };
DisplayOrientations NativeOrientation();
public DisplayOrientations NativeOrientation { get; }
var displayOrientations = displayInformation.nativeOrientation;
Public ReadOnly Property NativeOrientation As DisplayOrientations

Valeur de propriété

Orientation native du moniteur d’affichage.

Remarques

NativeOrientation retourne uniquement la valeur Paysage ou Portrait . NativeOrientation ne renvoie jamais la valeur LandscapeFlipped ou PortraitFlipped .

S’applique à