Back to Devexpress

ThemeManager.AndroidStatusBarBackground Property

maui-devexpress-dot-maui-dot-core-dot-thememanager-f0a5b037.md

latest2.1 KB
Original Source

ThemeManager.AndroidStatusBarBackground Property

Gets or sets the status bar’s background color (works for Android 14 and earlier versions only).

Namespace : DevExpress.Maui.Core

Assembly : DevExpress.Maui.Core.dll

NuGet Package : DevExpress.Maui.Core

Declaration

csharp
public static Color AndroidStatusBarBackground { get; set; }

Property Value

TypeDescription
Color

The status bar’s background color (works for Android 14 and earlier versions only).

|

Remarks

You can use the following properties to apply theme colors to device bars:

PropertyDescription
AndroidNavigationBarForegroundGets or sets the theme used by device navigation bar icons (works for Android 14 and earlier versions only).
AndroidNavigationBarBackgroundGets or sets the background color of the device’s navigation bar (works for Android 14 and earlier versions only).
AndroidStatusBarBackgroundGets or sets the status bar’s background color (works for Android 14 and earlier versions only).
StatusBarForegroundGets or sets the theme that is used in device navigation bar icons.
ApplyThemeToSystemBarsGets or sets whether the color theme is applied to system bars.
csharp
ThemeManager.Theme = new Theme(ThemeSeedColor.DarkGreen);
ThemeManager.AndroidStatusBarBackground = AppTheme.Light;

See Also

ThemeManager Class

ThemeManager Members

DevExpress.Maui.Core Namespace