AppWindowPresenterKind Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for