Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CompactOverlaySize 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 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

Name Value Description
Small 0

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

Medium 1

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

Large 2

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

Remarks

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

Applies to

See also


Feedback

Was this page helpful?