一键导入
uno-navigation-xaml
Implement declarative navigation in Uno Platform XAML using Navigation.Request and Navigation.Data attached properties.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Implement declarative navigation in Uno Platform XAML using Navigation.Request and Navigation.Data attached properties.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create and use commands in MVUX for user interactions.
Create and use IFeed<T> for async data in MVUX.
Display async feed data with FeedView control.
Create and use IListFeed<T> for reactive collections in MVUX.
Create and use IListState<T> for mutable reactive collections in MVUX.
Use messaging to sync MVUX states with entity changes.
| name | uno-navigation-xaml |
| description | Implement declarative navigation in Uno Platform XAML using Navigation.Request and Navigation.Data attached properties. |
| when_to_use | Use when adding navigation to buttons, list items, or controls directly in XAML, navigation without writing code-behind, using `uen:Navigation.Request` attached property for route-based navigation, passing data via `uen:Navigation.Data` in XAML, navigation from `ItemsRepeater` or `ListView` item clicks/selections, or simple Frame shell: 1-2 pages, navigation is secondary, no TabBar or NavigationView needed. |
| metadata | {"author":"uno-platform","version":"3.3","category":"navigation"} |
For a complete, compilable Frame-based shell with parameterized placeholders, see:
references/shell-frame-template.md — Contains:
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.
uno_platform_docs_search("Uno Navigation XAML Navigation.Request Navigation.Data attached properties declarative")
Primary documentation pages:
external/uno.extensions/doc/Learn/Navigation/Walkthrough/NavigateUsingAttachedPropertiesInXAML.mdexternal/uno.chefs/doc/navigation/XamlNavigation.mdexternal/uno.extensions/doc/Learn/Navigation/NavigationOverview.mdFetch the main walkthrough:
uno_platform_docs_fetch(sourcePath="external/uno.extensions/doc/Learn/Navigation/Walkthrough/NavigateUsingAttachedPropertiesInXAML.md")
For real-world XAML navigation patterns:
uno_platform_docs_fetch(sourcePath="external/uno.chefs/doc/navigation/XamlNavigation.md")
If the user needs back-stack manipulation in XAML (like -/ to clear):
See the uno-navigation-qualifiers skill.
xmlns:uen="using:Uno.Extensions.Navigation.UI"uen:Navigation.Request="RouteName" triggers navigation on interaction (click/tap)uen:Navigation.Data="{Binding SomeData}" passes data with the navigation request-/Login to clear back stack)uen:Navigation.Request="PageName" — pushes page onto the frame stackuen:Navigation.Request="-/PageName" — replaces the current pageuen:Navigation.Request="!back" — pops the current pageuen:Navigation.Request="./RegionName" — for visibility-based regionsuen:Navigation.Request is an attached property — it works on any UI element that supports Click or TappedINavigator calls needed for simple transitions!back request navigates back in the frame stack-/ prefix clears the back stack (use for login-to-home transitions)RouteMap MUST match the uen:Navigation.Request values used in XAMLRegion.Attached="True" inside Shell.xaml — only in SHELL_PAGE_NAME.xamluen:Navigation.Request="!back"