NavigationPage.GetStatusBarTextColorMode 方法

定义

重载

GetStatusBarTextColorMode(BindableObject)

返回一个值,用于控制是否调整状态栏文本颜色以匹配特定于平台的导航页面的导航栏亮度。

GetStatusBarTextColorMode(IPlatformElementConfiguration<iOS,NavigationPage>)

返回一个值,用于控制是否调整状态栏文本颜色以匹配特定于平台的导航页面的导航栏亮度。

GetStatusBarTextColorMode(BindableObject)

返回一个值,用于控制是否调整状态栏文本颜色以匹配特定于平台的导航页面的导航栏亮度。

public static Xamarin.Forms.PlatformConfiguration.iOSSpecific.StatusBarTextColorMode GetStatusBarTextColorMode (Xamarin.Forms.BindableObject element);
static member GetStatusBarTextColorMode : Xamarin.Forms.BindableObject -> Xamarin.Forms.PlatformConfiguration.iOSSpecific.StatusBarTextColorMode

参数

element
BindableObject

要对其执行操作的特定于平台的元素。

返回

一个值,用于控制是否调整状态栏文本颜色以匹配特定于平台的导航页面的导航栏亮度。

适用于

GetStatusBarTextColorMode(IPlatformElementConfiguration<iOS,NavigationPage>)

返回一个值,用于控制是否调整状态栏文本颜色以匹配特定于平台的导航页面的导航栏亮度。

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

参数

config
IPlatformElementConfiguration<iOS,NavigationPage>

特定于平台的配置,包含要对其执行操作的元素。

返回

一个值,用于控制是否调整状态栏文本颜色以匹配特定于平台的导航页面的导航栏亮度。

适用于