maui-devexpress-dot-maui-dot-core-dot-thememanager.md
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
public static bool ApplyThemeToSystemBars { get; set; }
| Type | Description |
|---|---|
| Boolean |
true to apply the color theme to system bars; otherwise, false.
|
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
public static MauiApp CreateMauiApp() {
ThemeManager.ApplyThemeToSystemBars = true;
var builder = MauiApp.CreateBuilder();
devexpress-ai-chat-samples/CS/DevExpress.AI.Samples.MAUIBlazor/MauiProgram.cs#L12
public static MauiApp CreateMauiApp() {
ThemeManager.ApplyThemeToSystemBars = true;
var builder = MauiApp.CreateBuilder();
See Also