AppWindowFrame Class

Definition

Represents the current frame that is applied around the window content.

public ref class AppWindowFrame sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AppWindowFrame final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class AppWindowFrame
Public NotInheritable Class AppWindowFrame
Inheritance
Object Platform::Object IInspectable AppWindowFrame
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

DragRegionVisuals

Gets a list of drag visuals currently associated with the frame if any have been successfully set. The default system drag visual for the system drawn titlebar is not returned through this method.

Methods

GetFrameStyle()

Returns the style of frame used for the current window.

SetFrameStyle(AppWindowFrameStyle)

Sets the style of frame to use for the app window.

Applies to