TopLevelSetAutoSafeAreaPadding 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) Version: 11.3.999
public static void SetAutoSafeAreaPadding(
	Control control,
	bool value
)

Parameters

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

See Also