Jaa


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
/// [Windows.Foundation.Metadata.ContractVersion(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)]
enum class ApplicationViewState
/// [Windows.Foundation.Metadata.ContractVersion(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")]
enum class 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 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