maui-devexpress-dot-maui-dot-core-6f45b377.md
A behavior that applies system colors to the system’s status bar .
Namespace : DevExpress.Maui.Core
Assembly : DevExpress.Maui.Core.dll
NuGet Package : DevExpress.Maui.Core
public class SystemBarBehavior :
Behavior<Page>
Use the SystemBarBehavior class to set the bar’s colors in XAML:
<ContentPage ...>
<ContentPage.Behaviors>
<dx:SystemBarBehavior StatusBarForeground="Light" AndroidNavigationBarBackground="DarkGreen" />
</ContentPage.Behaviors>
</ContentPage>
SystemBarBehavior includes the following properties:
| Property | Description |
|---|---|
| AndroidNavigationBarBackground | Gets or sets the background color of the device’s navigation bar (works for Android 14 and earlier versions only). This is a bindable property. |
| AndroidNavigationBarForeground | Gets or sets the theme that is used by the device’s navigation bar icons (works for Android 14 and earlier versions only). This is a bindable property. |
| AndroidStatusBarBackground | Gets or sets the status bar’s background color (works for Android 14 and earlier versions only). This is a bindable property. |
| StatusBarForeground | Gets or sets the theme that is used in the device’s navigation bar icons. This is a bindable property. |
System.Object BindableObject Behavior Behavior<Page> SystemBarBehavior
See Also