Page.SetUseSafeArea Method

Definition

Overloads

SetUseSafeArea(BindableObject, Boolean)

Sets a value that controls whether padding values are overridden with the safe area insets.

SetUseSafeArea(IPlatformElementConfiguration<iOS,Page>, Boolean)

Sets a value that controls whether padding values are overridden with the safe area insets.

SetUseSafeArea(BindableObject, Boolean)

Source:
Page.cs
Source:
Page.cs

Sets a value that controls whether padding values are overridden with the safe area insets.

public:
 static void SetUseSafeArea(Microsoft::Maui::Controls::BindableObject ^ element, bool value);
public static void SetUseSafeArea (Microsoft.Maui.Controls.BindableObject element, bool value);
static member SetUseSafeArea : Microsoft.Maui.Controls.BindableObject * bool -> unit
Public Sub SetUseSafeArea (element As BindableObject, value As Boolean)

Parameters

element
BindableObject

The element whose safe area use behavior to set.

value
Boolean

true to use the safe area inset behavior; otherwise, false.

Applies to

SetUseSafeArea(IPlatformElementConfiguration<iOS,Page>, Boolean)

Source:
Page.cs
Source:
Page.cs

Sets a value that controls whether padding values are overridden with the safe area insets.

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

Parameters

config
IPlatformElementConfiguration<iOS,Page>

The element whose safe area behavior to get.

value
Boolean

true to use the safe area inset behavior; otherwise, false.

Returns

The updated configuration object on which developers can make successive method calls.

Applies to