Udostępnij za pośrednictwem


Page.UsingSafeArea(IPlatformElementConfiguration<iOS,Page>) Metoda

Definicja

Pobiera wartość reprezentującą, czy dopełnienie jest zastępowane bezpiecznym obszarem.

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

Parametry

config
IPlatformElementConfiguration<iOS,Page>

Element, którego zachowanie w bezpiecznym obszarze ma być uzyskiwane.

Zwraca

true jeżeli dopełnienie jest zastępowane bezpiecznym obszarem; w przeciwnym razie, false.

Dotyczy