CompactOverlaySize Enum
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
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. |
Values of this enum are used by the CompactOverlayPresenter.InitialSize property.
Product | Versions |
---|---|
Windows App SDK | 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 |