Dela via


ApplicationViewSwitchingOptions Enum

Definition

Defines a set of options for window (app view) switching behaviors.

This enumeration supports a bitwise combination of its member values.

public enum class ApplicationViewSwitchingOptions
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ApplicationViewSwitchingOptions
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ApplicationViewSwitchingOptions
var value = Windows.UI.ViewManagement.ApplicationViewSwitchingOptions.default
Public Enum ApplicationViewSwitchingOptions
Inheritance
ApplicationViewSwitchingOptions
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
Default 0

Perform the standard animated transition between windows upon switching.

SkipAnimation 1

Immediately transition between windows without animation.

ConsolidateViews 2

Close the initial window and remove it from the list of recently used apps, and display the window to which the app is switching.

Examples

Sample apps that demonstrate ApplicationViewSwitchingOptions include the 360-degree video playback sample and the Multiple views sample.

Applies to

See also