Skip to main content

SetAutoSafeAreaPadding Method

Enabled or disables whenever TopLevel should automatically adjust paddings depending on the safe area.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public static void SetAutoSafeAreaPadding(
Control control,
bool value
)

Parameters

  Control
The main view attached to the toplevel, or the toplevel.
  Boolean
Value to be set.

See Also

Reference

TopLevel Class
Avalonia.Controls Namespace