Dela via


AppWindowPlacement Class

Definition

Represents info about the placement of an app window.

public ref class AppWindowPlacement sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AppWindowPlacement final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class AppWindowPlacement
Public NotInheritable Class AppWindowPlacement
Inheritance
Object Platform::Object IInspectable AppWindowPlacement
Attributes

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Properties

DisplayRegion

Gets the display region for the app window.

Offset

Gets the offset of the app window.

Size

Gets the size of the app window.

Applies to