Page.SetUseSafeArea Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- System.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
- System.Boolean
The new safe area inset behavior.
Returns
The updated configuration object on which developers can make successive method calls.