Language

StatusBarTheme Enum

Definition

Controls the theme of OS-drawn status bar content (icons, text) on mobile platforms (Android, iOS). Analogous to AppTheme — Light means light background with dark icons, Dark means dark background with light icons. On desktop platforms (Windows, macCatalyst) this is a no-op since there are no OS-drawn status bar icons.

public enum class StatusBarTheme
public enum StatusBarTheme
type StatusBarTheme = 
Public Enum StatusBarTheme
Inheritance
StatusBarTheme

Fields

Name Value Description
Default 0

Automatically follow the current app theme. This is the default and preserves existing behavior.

Light 1

The status bar area has a light background — use dark icons/text for contrast. Maps to: Android AppearanceLightStatusBars=true, iOS UIStatusBarStyle.DarkContent.

Dark 2

The status bar area has a dark background — use light/white icons/text for contrast. Maps to: Android AppearanceLightStatusBars=false, iOS UIStatusBarStyle.LightContent.

Applies to