EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

ApplicationViewSwitcher class

Represents the app view switching behaviors for an app.

Syntax


var applicationViewSwitcher = Windows.UI.ViewManagement.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 (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

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

 

 

Mostrar:
© 2015 Microsoft