共用方式為


Page.GetSafeAreaInsets(BindableObject) Method

Definition

Returns the safe area insets for element.

public:
 static Microsoft::Maui::Thickness GetSafeAreaInsets(Microsoft::Maui::Controls::BindableObject ^ element);
public static Microsoft.Maui.Thickness GetSafeAreaInsets (Microsoft.Maui.Controls.BindableObject element);
static member GetSafeAreaInsets : Microsoft.Maui.Controls.BindableObject -> Microsoft.Maui.Thickness
Public Function GetSafeAreaInsets (element As BindableObject) As Thickness

Parameters

element
BindableObject

The element whose safe area insets to get.

Returns

The safe area insets for element.

Applies to