NavigationPage.SetStatusBarTextColorMode 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
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
The platform specific configuration that contains the element on which to perform the operation.
- value
- StatusBarTextColorMode
The new property value to assign.
Returns
The updated configuration object on which developers can make successive method calls.