Page.SetPrefersStatusBarHidden Method

Definition

Overloads

SetPrefersStatusBarHidden(BindableObject, StatusBarHiddenMode)

Sets a value that controls whether it is preferred that the status bar is shown, hidden, or relies on the system default.

SetPrefersStatusBarHidden(IPlatformElementConfiguration<iOS,Page>, StatusBarHiddenMode)

Sets a value that controls whether it is preferred that the status bar is shown, hidden, or relies on the system default.

SetPrefersStatusBarHidden(BindableObject, StatusBarHiddenMode)

Sets a value that controls whether it is preferred that the status bar is shown, hidden, or relies on the system default.

public static void SetPrefersStatusBarHidden (Xamarin.Forms.BindableObject element, Xamarin.Forms.PlatformConfiguration.iOSSpecific.StatusBarHiddenMode value);
static member SetPrefersStatusBarHidden : Xamarin.Forms.BindableObject * Xamarin.Forms.PlatformConfiguration.iOSSpecific.StatusBarHiddenMode -> unit

Parameters

element
BindableObject

The platform specific element on which to perform the operation.

value
StatusBarHiddenMode

The new property value to assign.

Applies to

SetPrefersStatusBarHidden(IPlatformElementConfiguration<iOS,Page>, StatusBarHiddenMode)

Sets a value that controls whether it is preferred that the status bar is shown, hidden, or relies on the system default.

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

Parameters

config
IPlatformElementConfiguration<iOS,Page>

The platform specific configuration that contains the element on which to perform the operation.

value
StatusBarHiddenMode

The new property value to assign.

Returns

IPlatformElementConfiguration<iOS,Page>

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

Applies to