IInsetsManager Interface
Definition
public interface IInsetsManager
Properties
| Name | Description |
|---|---|
| DisplayEdgeToEdgePreference | Gets or sets whether the window draws edge to edge. behind any visible system bars. |
| DisplaysEdgeToEdge | Gets whether the window is currently displaying edge to edge. |
| IsSystemBarVisible | Gets or sets whether the system bars are visible. |
| SafeAreaPadding | Gets the current safe area padding. |
| SystemBarColor | Gets or sets the color of the platform's system bars |
DisplayEdgeToEdgePreference Property
Gets or sets whether the window draws edge to edge. behind any visible system bars.
public bool DisplayEdgeToEdgePreference { get; set; }
DisplaysEdgeToEdge Property
Gets whether the window is currently displaying edge to edge.
public bool DisplaysEdgeToEdge { get; set; }
IsSystemBarVisible Property
Gets or sets whether the system bars are visible.
public Nullable<bool> IsSystemBarVisible { get; set; }
SafeAreaPadding Property
Gets the current safe area padding.
public Avalonia.Thickness SafeAreaPadding { get; set; }
SystemBarColor Property
Gets or sets the color of the platform's system bars
public Nullable<Avalonia.Media.Color> SystemBarColor { get; set; }
Events
| Name | Description |
|---|---|
| SafeAreaChanged | Occurs when safe area for the current window changes. |
SafeAreaChanged Event
Occurs when safe area for the current window changes.
public event EventHandler<Avalonia.Controls.Platform.SafeAreaChangedArgs> SafeAreaChanged