Language

IWindow.StatusBarTheme Property

Definition

Gets the preferred theme for the status bar area on mobile platforms. Controls whether OS-drawn icons (clock, battery, signal) are light or dark. Default follows the current app theme. No-op on desktop platforms.

public:
 virtual property Microsoft::Maui::StatusBarTheme StatusBarTheme { Microsoft::Maui::StatusBarTheme get(); };
public virtual Microsoft.Maui.StatusBarTheme StatusBarTheme { get; }
member this.StatusBarTheme : Microsoft.Maui.StatusBarTheme
Public Overridable ReadOnly Property StatusBarTheme As StatusBarTheme

Property Value

Applies to