Page.UsingSafeArea(IPlatformElementConfiguration<iOS,Page>) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个值,该值表示是否使用安全区域重写填充。
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
如果用安全区域重写填充,则为