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