TopLevelSetAutoSafeAreaPadding Method
Enabled or disables whenever TopLevel should automatically adjust paddings depending on the safe area.
Namespace: Avalonia.ControlsAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public static void SetAutoSafeAreaPadding(
Control control,
bool value
)
Public Shared Sub SetAutoSafeAreaPadding (
control As Control,
value As Boolean
)
static member SetAutoSafeAreaPadding :
control : Control *
value : bool -> unit
Parameters
- control Control
- The main view attached to the toplevel, or the toplevel.
- value Boolean
- Value to be set.