Page.UsingSafeArea(IPlatformElementConfiguration<iOS,Page>) 方法

定义

获取一个值,该值表示是否使用安全区域重写填充。

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

参数

config
IPlatformElementConfiguration<iOS,Page>

要获取其安全区域行为的元素。

返回

true 如果用安全区域重写填充,则为 false.

适用于