共用方式為


Page.SafeAreaInsets(IPlatformElementConfiguration<iOS,Page>) Method

Definition

Returns a Thickness object that represents the safe area insets.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Thickness SafeAreaInsets(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::Page ^> ^ config);
public static Microsoft.Maui.Thickness SafeAreaInsets (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.Page> config);
static member SafeAreaInsets : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.Page> -> Microsoft.Maui.Thickness
<Extension()>
Public Function SafeAreaInsets (config As IPlatformElementConfiguration(Of iOS, Page)) As Thickness

Parameters

config
IPlatformElementConfiguration<iOS,Page>

The element whose safe area insets to return.

Returns

A Thickness object that represents the safe area insets.

Applies to