AppWindowPresenterKind Enum

Definition

Defines constants that specify the kind of presenter the app window uses.

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
Inheritance
AppWindowPresenterKind
Attributes

Fields

CompactOverlay 1

The app window uses a compact overlay (picture-in-picture) presenter.

Default 0

The app window uses the system default presenter.

FullScreen 2

The app window uses a full screen presenter.

Overlapped 3

The app window uses an overlapped presenter.

Remarks

Note

The Default value is used only when you apply an AppWindowPresenter by kind (AppWindow.SetPresenter(appWindowPresenterKind)), it is never used as the value of the Kind property of any presenter.

The default presenter is OverlappedPresenter, which means that calling AppWindow.SetPresenter(AppWindowPresenterKind.Default) will result in an OverlappedPresenter being applied to the window.

Applies to

See also