Skip to main content
ON

SystemBarBehavior Class

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

Declaration

public class SystemBarBehavior :
    Behavior<Page>

Remarks

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.

Inheritance

System.Object
See Also