Table of Contents

Interface IInsetsManager

Namespace
Avalonia.Controls.Platform
Assembly
Avalonia.Controls.dll
[NotClientImplementable]
public interface IInsetsManager

Properties

DisplayEdgeToEdge

Gets or sets whether the window draws edge to edge. behind any visible system bars.

bool DisplayEdgeToEdge { get; set; }

Property Value

bool

IsSystemBarVisible

Gets or sets whether the system bars are visible.

bool? IsSystemBarVisible { get; set; }

Property Value

bool?

SafeAreaPadding

Gets the current safe area padding.

Thickness SafeAreaPadding { get; }

Property Value

Thickness

SystemBarColor

Gets or sets the color of the platform's system bars

Color? SystemBarColor { get; set; }

Property Value

Color?

Events

SafeAreaChanged

Occurs when safe area for the current window changes.

event EventHandler<SafeAreaChangedArgs>? SafeAreaChanged

Event Type

EventHandler<SafeAreaChangedArgs>