Enum ScaffoldSystemBarStyle
- Namespace
- Nalu
- Assembly
- Nalu.Maui.Scaffold.dll
The style of the system status bar (and, on Android, gesture navigation bar) icons over a scaffold page — settable per page, per ScaffoldArea or per scaffold via SystemBarStyleProperty (most specific non-Auto wins).
public enum ScaffoldSystemBarStyle
Fields
Auto = 0Derive the style from the visible surface: an overlay covering the status bar (open flyout), then the nav bar background when the bar is shown and sufficiently opaque, then the sampled luminance of the rendered status-bar strip, then the page's (or its top-spanning first child's) background color, then the app theme. The default.
DarkContent = 2Dark (black) icons — for pages whose top-of-screen surface is light.
LightContent = 1Light (white) icons — for pages whose top-of-screen surface is dark.
Remarks
The declared value describes the PAGE'S OWN surface: whenever an opaque chrome layer covers the status-bar region (a materialized nav bar, an open flyout), that layer's brightness wins regardless of the declaration — the icons always contrast with what is actually visible.