Uno Toolkit StatusBar Extensions — Agent Skill
Workflow
Docs lookup: call
uno_platform_docs_search(...)first, thenuno_platform_docs_fetch(sourcePath="…")using thesourcePathfield from a result (a relative.mdpath; add the result'sanchorfor a section). Never pass a URL, a.htmllink, or a hand-built path.
Step 1: Fetch the StatusBar Extensions Documentation
uno_platform_docs_search("Uno Toolkit StatusBar extensions foreground background color iOS Android")
Primary documentation page:
- StatusBar Extensions:
external/uno.toolkit.ui/doc/helpers/StatusBar-extensions.md
Fetch the page:
uno_platform_docs_fetch(sourcePath="external/uno.toolkit.ui/doc/helpers/StatusBar-extensions.md")
Critical Rules
StatusBar.Foregroundis aStatusBarForegroundThemeenum value, NOT a Brush. Use attribute syntax with a bare enum name:utu:StatusBar.Foreground="Light"(orDark,Auto,AutoInverse). Element syntax or a Brush value (e.g.<utu:StatusBar.Foreground><SolidColorBrush Color="White"/></utu:StatusBar.Foreground>) is invalid.StatusBar.Backgroundis a color/brush — accepts an attribute color name or a{StaticResource}brush.- The class is
StatusBar, notStatusBarExtensions, despite the file/skill name.
Key Principles (Stable)
utu:StatusBar.Foreground— StatusBarForegroundTheme enum valueutu:StatusBar.Background— color or brush- StatusBarForegroundTheme values:
Light(white icons),Dark(black icons),Auto(matches theme, updates on change),AutoInverse(opposite of theme, updates on change) - Applied as attached properties on the Page element
- Works on iOS and Android only
- XAML namespace:
xmlns:utu="using:Uno.Toolkit.UI"
Related Skills
- [[uno-toolkit-safearea]] — Safe area insets for status bar