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)

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

public static void SetUseSafeArea (Xamarin.Forms.BindableObject element, bool value);
static member SetUseSafeArea : Xamarin.Forms.BindableObject * bool -> unit

Parameters

element
BindableObject

The element whose safe area use behavior to set.

value
Boolean

The new safe area inset behavior.

Applies to

SetUseSafeArea(IPlatformElementConfiguration<iOS,Page>, Boolean)

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

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.Page> SetUseSafeArea (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.Page> config, bool value);
static member SetUseSafeArea : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.Page> * bool -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.Page>

Parameters

config
IPlatformElementConfiguration<iOS,Page>

The element whose safe area use behavior to set.

value
Boolean

The new safe area inset behavior.

Returns

IPlatformElementConfiguration<iOS,Page>

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

Applies to