ApplicationView.Value Property

Gets the state of the current app view.

Syntax

public:
static property ApplicationViewState Value {
         ApplicationViewState get ();
}  

Property value

Type: ApplicationViewState 

The current state of the running app’s view. This state indicates the orientation (landscape or portrait) and whether or not the app is snapped.

Remarks

To respond to a view state change, an app queries this property from inside the app window resize event handler to determine how to layout the app in the changed view state.

Example

Requirements

Namespace: Windows.UI.ViewManagement

Metadata: windows.winmd

See also

Reference

ApplicationView Class

ApplicationView Members

Windows.UI.ViewManagement Namespace