Dela via


ApplicationViewWindowingMode Enum

Definition

Defines constants that specify whether the app window is auto-sized, full-screen, or set to a specific size on launch.

public enum class ApplicationViewWindowingMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ApplicationViewWindowingMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ApplicationViewWindowingMode
var value = Windows.UI.ViewManagement.ApplicationViewWindowingMode.auto
Public Enum ApplicationViewWindowingMode
Inheritance
ApplicationViewWindowingMode
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Auto 0

The system sizes the app window automatically.

PreferredLaunchViewSize 1

The window is sized as specified by the ApplicationView.PreferredLaunchViewSize property.

FullScreen 2

The window is full-screen.

CompactOverlay 3

The window is shown as a compact overlay (picture-in-picture).

Maximized 4

The window is maximized.

Remarks

Version history

Windows version SDK version Value added
1809 17763 CompactOverlay
1809 17763 Maximized

Applies to