ApplicationViewState Enum

Definition

Specifies the set of app view state changes that can be handled.

Important

ApplicationViewState may be altered or unavailable for releases after Windows 8.1. Instead, query for window layout sizes directly.

public enum class ApplicationViewState
enum ApplicationViewState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("ApplicationViewState may be altered or unavailable for releases after Windows 8.1. Instead, query for window layout sizes directly.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
public enum ApplicationViewState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("ApplicationViewState may be altered or unavailable for releases after Windows 8.1. Instead, query for window layout sizes directly.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
public enum ApplicationViewState
var value = Windows.UI.ViewManagement.ApplicationViewState.fullScreenLandscape
Public Enum ApplicationViewState
Inheritance
ApplicationViewState
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Filled 1

The current app's view has been reduced to a partial screen view as the result of another app snapping.

FullScreenLandscape 0

The current app's view is in full-screen (has no snapped app adjacent to it), and has changed to landscape orientation.

FullScreenPortrait 3

The current app's view is in full-screen (has no snapped app adjacent to it), and has changed to portrait orientation.

Snapped 2

The current app's view has been snapped.

Applies to