Share via


DisplayInformation.CurrentOrientation Propriété

Définition

Obtient l’orientation actuelle d’un moniteur rectangulaire.

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

Valeur de propriété

Orientation actuelle d’un moniteur rectangulaire.

Remarques

La valeur de la propriété DisplayInformation.CurrentOrientation correspond à l’orientation de l’affichage ou du moniteur et pas nécessairement à l’orientation de votre application. Pour déterminer l’orientation de votre application à des fins de disposition, utilisez la propriété ApplicationView.Value .

S’applique à