Udostępnij za pośrednictwem


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)

Source:
NavigationPage.cs
Source:
NavigationPage.cs

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(Microsoft::Maui::Controls::BindableObject ^ element, Microsoft::Maui::Controls::PlatformConfiguration::iOSSpecific::StatusBarTextColorMode value);
public static void SetStatusBarTextColorMode (Microsoft.Maui.Controls.BindableObject element, Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.StatusBarTextColorMode value);
static member SetStatusBarTextColorMode : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.StatusBarTextColorMode -> unit
Public Sub SetStatusBarTextColorMode (element As BindableObject, value As StatusBarTextColorMode)

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)

Source:
NavigationPage.cs
Source:
NavigationPage.cs

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:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::NavigationPage ^> ^ SetStatusBarTextColorMode(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::NavigationPage ^> ^ config, Microsoft::Maui::Controls::PlatformConfiguration::iOSSpecific::StatusBarTextColorMode value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.NavigationPage> SetStatusBarTextColorMode (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.NavigationPage> config, Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.StatusBarTextColorMode value);
static member SetStatusBarTextColorMode : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.NavigationPage> * Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.StatusBarTextColorMode -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.NavigationPage>
<Extension()>
Public Function SetStatusBarTextColorMode (config As IPlatformElementConfiguration(Of iOS, NavigationPage), value As StatusBarTextColorMode) As IPlatformElementConfiguration(Of iOS, 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

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

Applies to