ApplicationViewSwitcher
ApplicationViewSwitcher
ApplicationViewSwitcher
ApplicationViewSwitcher
ApplicationViewSwitcher
Class
Definition
Represents the app view switching behaviors for an app.
public : static class ApplicationViewSwitcher
static struct winrt::Windows::UI::ViewManagement::ApplicationViewSwitcher
public static class ApplicationViewSwitcher
Public Shared Class ApplicationViewSwitcher
// This class does not provide a public constructor.
- Attributes
-
Windows 10 requirements
Device family |
Windows 10 (introduced v10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Methods
DisableShowingMainViewOnActivation()
DisableShowingMainViewOnActivation()
DisableShowingMainViewOnActivation()
DisableShowingMainViewOnActivation()
DisableShowingMainViewOnActivation()
|
Disables the primary window (app view) when the app is activated, showing the most recently displayed window instead.
|
DisableSystemViewActivationPolicy()
DisableSystemViewActivationPolicy()
DisableSystemViewActivationPolicy()
DisableSystemViewActivationPolicy()
DisableSystemViewActivationPolicy()
|
Disables Windows shell control of the view selection on activation, and lets the app handle it instead.
|
PrepareForCustomAnimatedSwitchAsync(Int32, Int32, ApplicationViewSwitchingOptions)
PrepareForCustomAnimatedSwitchAsync(Int32, Int32, ApplicationViewSwitchingOptions)
PrepareForCustomAnimatedSwitchAsync(Int32, Int32, ApplicationViewSwitchingOptions)
PrepareForCustomAnimatedSwitchAsync(Int32, Int32, ApplicationViewSwitchingOptions)
PrepareForCustomAnimatedSwitchAsync(Int32, Int32, ApplicationViewSwitchingOptions)
|
Prepares your app to visually transition between two windows with a custom animation.
|
SwitchAsync(Int32)
SwitchAsync(Int32)
SwitchAsync(Int32)
SwitchAsync(Int32)
SwitchAsync(Int32)
|
Visually replaces the calling window (app view) with a specified window.
|
SwitchAsync(Int32, Int32)
SwitchAsync(Int32, Int32)
SwitchAsync(Int32, Int32)
SwitchAsync(Int32, Int32)
SwitchAsync(Int32, Int32)
|
Visually replaces the calling window (app view) with a specified window.
|
SwitchAsync(Int32, Int32, ApplicationViewSwitchingOptions)
SwitchAsync(Int32, Int32, ApplicationViewSwitchingOptions)
SwitchAsync(Int32, Int32, ApplicationViewSwitchingOptions)
SwitchAsync(Int32, Int32, ApplicationViewSwitchingOptions)
SwitchAsync(Int32, Int32, ApplicationViewSwitchingOptions)
|
Visually replaces the calling window (app view) with a specified window.
|
TryShowAsStandaloneAsync(Int32)
TryShowAsStandaloneAsync(Int32)
TryShowAsStandaloneAsync(Int32)
TryShowAsStandaloneAsync(Int32)
TryShowAsStandaloneAsync(Int32)
|
Displays another window (app view) for the app on the screen, adjacent to the original window
|
TryShowAsStandaloneAsync(Int32, ViewSizePreference)
TryShowAsStandaloneAsync(Int32, ViewSizePreference)
TryShowAsStandaloneAsync(Int32, ViewSizePreference)
TryShowAsStandaloneAsync(Int32, ViewSizePreference)
TryShowAsStandaloneAsync(Int32, ViewSizePreference)
|
Displays another window (app view) for the app on the screen, adjacent to the original window
|
TryShowAsStandaloneAsync(Int32, ViewSizePreference, Int32, ViewSizePreference)
TryShowAsStandaloneAsync(Int32, ViewSizePreference, Int32, ViewSizePreference)
TryShowAsStandaloneAsync(Int32, ViewSizePreference, Int32, ViewSizePreference)
TryShowAsStandaloneAsync(Int32, ViewSizePreference, Int32, ViewSizePreference)
TryShowAsStandaloneAsync(Int32, ViewSizePreference, Int32, ViewSizePreference)
|
Displays another window (app view) for the app on the screen, adjacent to the original window.
|
TryShowAsViewModeAsync(Int32, ApplicationViewMode)
TryShowAsViewModeAsync(Int32, ApplicationViewMode)
TryShowAsViewModeAsync(Int32, ApplicationViewMode)
TryShowAsViewModeAsync(Int32, ApplicationViewMode)
TryShowAsViewModeAsync(Int32, ApplicationViewMode)
|
Displays a view as a standalone view in the desired view mode.
|
TryShowAsViewModeAsync(Int32, ApplicationViewMode, ViewModePreferences)
TryShowAsViewModeAsync(Int32, ApplicationViewMode, ViewModePreferences)
TryShowAsViewModeAsync(Int32, ApplicationViewMode, ViewModePreferences)
TryShowAsViewModeAsync(Int32, ApplicationViewMode, ViewModePreferences)
TryShowAsViewModeAsync(Int32, ApplicationViewMode, ViewModePreferences)
|
Displays a view as a standalone view in the desired view mode with the specified options.
|
See also