Uno Toolkit Segmented Controls — 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 Segmented Control Documentation
uno_platform_docs_search("Uno Toolkit segmented control TabBar button group exclusive")
Primary documentation pages:
- TabBar & TabBarItem (segmented section):
external/uno.toolkit.ui/doc/controls/TabBarAndTabBarItem.md
Fetch the TabBar page and look for segmented control styles:
uno_platform_docs_fetch(sourcePath="external/uno.toolkit.ui/doc/controls/TabBarAndTabBarItem.md")
Critical Rules
- The segmented style key is
SegmentedStyle— apply it on theTabBar(Style="{StaticResource SegmentedStyle}"). There is noSegmentedTabBarStylekey; using that name will silently fall through to the defaultTabBarlook.
Key Principles (Stable)
- Segmented controls use
TabBarwithStyle="{StaticResource SegmentedStyle}" - Each option is a
TabBarItem - Single selection mode — mutually exclusive options
- The concrete segmented-button visual comes from the active design-theme
Related Skills
- [[uno-toolkit-tabbar]] — Full TabBar reference
- [[uno-toolkit-chip]] — Alternative selection via ChipGroup