ApplicationViewSwitcher 類別

ApplicationViewSwitcher Class

表示應用程式的應用程式檢視切換行為。

語法


var applicationViewSwitcher = Windows.UI.ViewManagement.ApplicationViewSwitcher;

屬性

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

成員

ApplicationViewSwitcher類別 具有下列類型的成員:

方法

The ApplicationViewSwitcher 類別 擁有這些方法。 使用 C#、Visual Basic 和 C++,它也會繼承方法自Object 類別.

方法描述
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.

 

備註

TODO: 說明開發人員如何能夠取得這個類別物件,以及視需要加入或更新擷取器項目。

需求

支援的最小用戶端

Windows 8.1 [僅限 Windows 市集應用程式]

支援的最小伺服器

Windows Server 2012 R2 [僅限 Windows 市集應用程式]

命名空間

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

Metadata

Windows.winmd

請參閱

Object

 

 

顯示:
© 2016 Microsoft