11 references to StatusBarTextColorMode
Microsoft.Maui.Controls (8)
PlatformConfiguration\iOSSpecific\NavigationPage.cs (8)
58
/// <summary>Bindable property for <see cref="
StatusBarTextColorMode
"/>.</summary>
60
BindableProperty.Create("StatusBarColorTextMode", typeof(
StatusBarTextColorMode
),
61
typeof(NavigationPage),
StatusBarTextColorMode
.MatchNavigationBarTextLuminosity);
64
public static
StatusBarTextColorMode
GetStatusBarTextColorMode(BindableObject element)
66
return (
StatusBarTextColorMode
)element.GetValue(StatusBarTextColorModeProperty);
70
public static void SetStatusBarTextColorMode(BindableObject element,
StatusBarTextColorMode
value)
76
public static
StatusBarTextColorMode
GetStatusBarTextColorMode(this IPlatformElementConfiguration<iOS, FormsElement> config)
82
public static IPlatformElementConfiguration<iOS, FormsElement> SetStatusBarTextColorMode(this IPlatformElementConfiguration<iOS, FormsElement> config,
StatusBarTextColorMode
value)
Microsoft.Maui.Controls.Compatibility (3)
iOS\Renderers\NavigationRenderer.cs (3)
760
NavigationBar.TintColor = iconColor == null || NavPage.OnThisPlatform().GetStatusBarTextColorMode() ==
StatusBarTextColorMode
.DoNotAdjust
768
var
statusBarColorMode = NavPage.OnThisPlatform().GetStatusBarTextColorMode();
771
if (statusBarColorMode ==
StatusBarTextColorMode
.DoNotAdjust || barTextColor?.GetLuminosity() <= 0.5)