Back to Devexpress

ThemeManager.ApplyThemeToSystemBars Property

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

latest2.2 KB
Original Source

ThemeManager.ApplyThemeToSystemBars Property

Gets or sets whether the color theme is applied to system bars.

Namespace : DevExpress.Maui.Core

Assembly : DevExpress.Maui.Core.dll

NuGet Package : DevExpress.Maui.Core

Declaration

csharp
public static bool ApplyThemeToSystemBars { get; set; }

Property Value

TypeDescription
Boolean

true to apply the color theme to system bars; otherwise, false.

|

Remarks

The ApplyThemeToSystemBars property works for Android 14 and earlier versions.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ApplyThemeToSystemBars property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

maui-generate-data-bound-report/CS/MauiReportingApp/MauiProgram.cs#L10

csharp
public static MauiApp CreateMauiApp() {
    ThemeManager.ApplyThemeToSystemBars = true;
    var builder = MauiApp.CreateBuilder();

devexpress-ai-chat-samples/CS/DevExpress.AI.Samples.MAUIBlazor/MauiProgram.cs#L12

csharp
public static MauiApp CreateMauiApp() {
    ThemeManager.ApplyThemeToSystemBars = true;
    var builder = MauiApp.CreateBuilder();

See Also

ThemeManager Class

ThemeManager Members

DevExpress.Maui.Core Namespace