CompactOverlaySize Enum

Definition

Defines constants that specify the size of a window in CompactOverlay mode.

public enum class CompactOverlaySize
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
enum class CompactOverlaySize
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
public enum CompactOverlaySize
var value = Microsoft.UI.Windowing.CompactOverlaySize.small
Public Enum CompactOverlaySize
Inheritance
CompactOverlaySize
Attributes

Fields

Large 2

Window size is approximately 25% of the display's work area.

Medium 1

Window size is approximately 15% of the display's work area.

Small 0

Window size is approximately 5% of the display's work area.

Remarks

Values of this enum are used by the CompactOverlayPresenter.InitialSize property.

Applies to

See also