DisplayInformation.CurrentOrientation Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the current orientation of a rectangular monitor.
public:
property DisplayOrientations CurrentOrientation { DisplayOrientations get(); };
DisplayOrientations CurrentOrientation();
public DisplayOrientations CurrentOrientation { get; }
var displayOrientations = displayInformation.currentOrientation;
Public ReadOnly Property CurrentOrientation As DisplayOrientations
Property Value
The current orientation of a rectangular monitor.
Remarks
The value of the DisplayInformation.CurrentOrientation property corresponds to the orientation of the display or monitor and not necessarily to the orientation of your app. To determine the orientation of your app for layout purposes, use the ApplicationView.Value property.
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro