ApplicationViewSwitcher class

Applies to Windows only

Represents the app view switching behaviors for an app.

Syntax


Public NotInheritable Class ApplicationViewSwitcher

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]

Members

The ApplicationViewSwitcher class has these types of members:

Methods

The ApplicationViewSwitcher class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
DisableShowingMainViewOnActivation Disables the primary window (app view) when the app is activated, showing the most recently displayed window instead.
PrepareForCustomAnimatedSwitchAsync Prepares your app to visually transition between two windows with a custom animation.
SwitchAsync(Int32) Visually replaces the calling window (app view) with a specified window.
SwitchAsync(Int32,Int32) Visually replaces the calling window (app view) with a specified window.
SwitchAsync(Int32,Int32,ApplicationViewSwitchingOptions) Visually replaces the calling window (app view) with a specified window.
TryShowAsStandaloneAsync(Int32) Displays another window (app view) for the app on the screen, adjacent to the original window
TryShowAsStandaloneAsync(Int32,ViewSizePreference) Displays another window (app view) for the app on the screen, adjacent to the original window
TryShowAsStandaloneAsync(Int32,ViewSizePreference,Int32,ViewSizePreference) Displays another window (app view) for the app on the screen, adjacent to the original window.

 

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

Windows.UI.ViewManagement
Windows::UI::ViewManagement [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft