Uno Toolkit NavigationBar — 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 NavigationBar Documentation
uno_platform_docs_search("Uno Toolkit NavigationBar app bar MainCommand PrimaryCommands")
Primary documentation page:
- NavigationBar:
external/uno.toolkit.ui/doc/controls/NavigationBar.md
Fetch the page:
uno_platform_docs_fetch(sourcePath="external/uno.toolkit.ui/doc/controls/NavigationBar.md")
Step 2: For Chefs Examples
uno_platform_docs_search("NavigationBar Chefs app example navigation back")
Critical Rules
MainCommandis anAppBarButton— there is no dedicatedNavigationBarMainCommandtype. Use<utu:NavigationBar.MainCommand><AppBarButton Icon="Back" Command="{Binding GoBackCommand}"/></utu:NavigationBar.MainCommand>(or equivalent attribute form). The sameAppBarButtontype is used forPrimaryCommandsandSecondaryCommandsitems.
Key Principles (Stable)
MainCommand— the back-button slot; anAppBarButtoninstancePrimaryCommands— actionAppBarButtons displayed on the rightSecondaryCommands— overflowAppBarButtons in the overflow menu- Two rendering modes:
Windows(XAML drawn) andNative(platform AppBar on iOS/Android) - Content property is the title
- XAML namespace:
xmlns:utu="using:Uno.Toolkit.UI"
Related Skills
- [[uno-toolkit-safearea]] — Safe area insets with NavigationBar
- [[uno-navigation-code]] — Navigation integration