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.

C#
[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
C#
[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
Inheritance
ApplicationViewState
Attributes

Windows requirements

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

Fields

Name Value Description
FullScreenLandscape 0

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

Filled 1

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

Snapped 2

The current app's view has been snapped.

FullScreenPortrait 3

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

Applies to

Product Versions
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100