Share via


AppWindowPresenterKind 列舉

定義

定義常數,指定應用程式視窗所使用的簡報者種類。

public enum class AppWindowPresenterKind
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
enum class AppWindowPresenterKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
public enum AppWindowPresenterKind
var value = Microsoft.UI.Windowing.AppWindowPresenterKind.default
Public Enum AppWindowPresenterKind
繼承
AppWindowPresenterKind
屬性

欄位

CompactOverlay 1

應用程式視窗使用精簡重迭 (圖片內) 簡報者。

Default 0

應用程式視窗會使用系統預設簡報者。

FullScreen 2

應用程式視窗使用全螢幕簡報者。

Overlapped 3

應用程式視窗使用重迭的簡報者。

備註

注意

只有在 Default 您依種類套用AppWindowPresenter時,才會使用此值 (AppWindow.SetPresenter (appWindowPresenterKind) ) ,永遠不會使用它做為任何簡報者的Kind屬性值。

預設簡報者是 OverlappedPresenter,這表示呼叫 AppWindow.SetPresenter(AppWindowPresenterKind.Default) 會導致 OverlappedPresenter 套用至視窗。

適用於

另請參閱