NavigationPage.SetStatusBarTextColorMode Method

Definition

Overloads

SetStatusBarTextColorMode(BindableObject, StatusBarTextColorMode)

Sets a value that controls whether the status bar text color is adjusted to match the luminosity of the navigation bar for the platform-specific navigation page.

SetStatusBarTextColorMode(IPlatformElementConfiguration<iOS,NavigationPage>, StatusBarTextColorMode)

Sets a value that controls whether the status bar text color is adjusted to match the luminosity of the navigation bar for the platform-specific navigation page.

SetStatusBarTextColorMode(BindableObject, StatusBarTextColorMode)

Sets a value that controls whether the status bar text color is adjusted to match the luminosity of the navigation bar for the platform-specific navigation page.

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

Parameters

element
BindableObject

The platform specific element on which to perform the operation.

value
StatusBarTextColorMode

The new property value to assign.

Applies to

SetStatusBarTextColorMode(IPlatformElementConfiguration<iOS,NavigationPage>, StatusBarTextColorMode)

Sets a value that controls whether the status bar text color is adjusted to match the luminosity of the navigation bar for the platform-specific navigation page.

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.NavigationPage> SetStatusBarTextColorMode (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.NavigationPage> config, Xamarin.Forms.PlatformConfiguration.iOSSpecific.StatusBarTextColorMode value);
static member SetStatusBarTextColorMode : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.NavigationPage> * Xamarin.Forms.PlatformConfiguration.iOSSpecific.StatusBarTextColorMode -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.NavigationPage>

Parameters

config
IPlatformElementConfiguration<iOS,NavigationPage>

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

value
StatusBarTextColorMode

The new property value to assign.

Returns

IPlatformElementConfiguration<iOS,NavigationPage>

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

Applies to