Windows Dev Center

ApplicationViewSwitcher Class

Stellt das App-Ansichtswechselverhalten für eine App dar.

Syntax


var applicationViewSwitcher = Windows.UI.ViewManagement.ApplicationViewSwitcher;

Attribute

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

Member

ApplicationViewSwitcherKlasse hat diese Membertypen:

Methoden

The ApplicationViewSwitcher Klasse hat diese Methoden. Mit C#, Visual Basic und C++ erbt es auch Methoden aus Object Klasse.

MethodeBeschreibung
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.

 

Hinweise

TODO: Dokumentieren Sie, wie der Entwickler das Klassenobjekt abrufen kann, und fügen Sie bei Bedarf Abruferelemente hinzu, oder aktualisieren Sie diese.

Anforderungen

Mindestens unterstützter Client

Windows 8.1 [Nur Windows Store-Apps]

Mindestens unterstützter Server

Windows Server 2012 R2 [Nur Windows Store-Apps]

Namespace

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

Metadaten

Windows.winmd

Siehe auch

Object

 

 

Anzeigen:
© 2015 Microsoft