Dela via


AppWindowTitleBarOcclusion Class

Definition

Represents the system-reserved regions of the app window that will occlude app content if ExtendsContentIntoTitleBar is true.

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

Windows requirements

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

Remarks

System-reserved regions are used for areas of the title bar such as the system drag region and min/max/close buttons.

Properties

OccludingRect

Gets a rectangle that defines the width, height, and offset of the occlusion in app content visual relative coordinates.

Applies to