Condividi tramite


NavigationPage.GetStatusBarTextColorMode Method

Definition

Overloads

GetStatusBarTextColorMode(BindableObject)

Returns 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.

GetStatusBarTextColorMode(IPlatformElementConfiguration<iOS,NavigationPage>)

Returns 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.

GetStatusBarTextColorMode(BindableObject)

Source:
NavigationPage.cs
Source:
NavigationPage.cs

Returns 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 Microsoft::Maui::Controls::PlatformConfiguration::iOSSpecific::StatusBarTextColorMode GetStatusBarTextColorMode(Microsoft::Maui::Controls::BindableObject ^ element);
public static Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.StatusBarTextColorMode GetStatusBarTextColorMode (Microsoft.Maui.Controls.BindableObject element);
static member GetStatusBarTextColorMode : Microsoft.Maui.Controls.BindableObject -> Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.StatusBarTextColorMode
Public Function GetStatusBarTextColorMode (element As BindableObject) As StatusBarTextColorMode

Parameters

element
BindableObject

The platform specific element on which to perform the operation.

Returns

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.

Applies to

GetStatusBarTextColorMode(IPlatformElementConfiguration<iOS,NavigationPage>)

Source:
NavigationPage.cs
Source:
NavigationPage.cs

Returns 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::PlatformConfiguration::iOSSpecific::StatusBarTextColorMode GetStatusBarTextColorMode(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::NavigationPage ^> ^ config);
public static Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.StatusBarTextColorMode GetStatusBarTextColorMode (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.NavigationPage> config);
static member GetStatusBarTextColorMode : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.NavigationPage> -> Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific.StatusBarTextColorMode
<Extension()>
Public Function GetStatusBarTextColorMode (config As IPlatformElementConfiguration(Of iOS, NavigationPage)) As StatusBarTextColorMode

Parameters

config
IPlatformElementConfiguration<iOS,NavigationPage>

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

Returns

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.

Applies to