Skip to main content

GetAutoSafeAreaPadding Method

Gets if auto safe area padding is enabled.

Definition​

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

public static bool GetAutoSafeAreaPadding(
Control control
)

Parameters​

  Control
The main view attached to the toplevel, or the toplevel.

Return Value​

Boolean

See Also​

Reference​

TopLevel Class
Avalonia.Controls Namespace