Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.08 KB

applicationview_orientation.md

File metadata and controls

25 lines (17 loc) · 1.08 KB
-api-id -api-type
P:Windows.UI.ViewManagement.ApplicationView.Orientation
winrt property

Windows.UI.ViewManagement.ApplicationView.Orientation

-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