Table of Contents

Class InsetsManagerBase

Namespace
Avalonia.Controls.Platform
Assembly
Avalonia.Controls.dll
[PrivateApi]
public abstract class InsetsManagerBase : IInsetsManager
Inheritance
InsetsManagerBase
Implements
Inherited Members

Constructors

InsetsManagerBase()

protected InsetsManagerBase()

Properties

DisplayEdgeToEdge

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

public virtual bool DisplayEdgeToEdge { get; set; }

Property Value

bool

IsSystemBarVisible

Gets or sets whether the system bars are visible.

public virtual bool? IsSystemBarVisible { get; set; }

Property Value

bool?

SafeAreaPadding

Gets the current safe area padding.

public virtual Thickness SafeAreaPadding { get; protected set; }

Property Value

Thickness

SystemBarColor

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

public virtual Color? SystemBarColor { get; set; }

Property Value

Color?

Methods

OnSafeAreaChanged(SafeAreaChangedArgs)

protected void OnSafeAreaChanged(SafeAreaChangedArgs eventArgs)

Parameters

eventArgs SafeAreaChangedArgs

Events

SafeAreaChanged

Occurs when safe area for the current window changes.

public event EventHandler<SafeAreaChangedArgs>? SafeAreaChanged

Event Type

EventHandler<SafeAreaChangedArgs>