Windows.UI.ViewManagement.ApplicationView.Orientation

June 17, 2020 ยท View on GitHub

-description

Gets the current orientation (landscape or portrait) of the window (app view) with respect to the display.

-property-value

The current orientation of the calling window.

-remarks

For an example of using the Orientation property, see the Application Views sample.

The property is a nonstatic member of the window object. For JavaScript, this means that it is a method of the window object that getForCurrentView creates, not of the ApplicationView class.

-examples

-see-also