StatusBarTheme Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
| Dark | 2 | The status bar area has a dark background — use light/white icons/text for contrast.
Maps to: Android |