https://github.com/jurij15/navigationservice
A small library to help you navigate in your WinUI3 apps
https://github.com/jurij15/navigationservice
navigation wasdk windowsappsdk winui3
Last synced: 15 days ago
JSON representation
A small library to help you navigate in your WinUI3 apps
- Host: GitHub
- URL: https://github.com/jurij15/navigationservice
- Owner: Jurij15
- License: mit
- Created: 2023-11-21T18:34:46.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-09T14:12:48.000Z (over 1 year ago)
- Last Synced: 2025-05-09T00:45:31.872Z (15 days ago)
- Topics: navigation, wasdk, windowsappsdk, winui3
- Language: C#
- Homepage:
- Size: 43 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NavigationService
A small library to help you navigate in your WinUI3 apps# Sample
- For sample usage, refer to the [TestApp](https://github.com/Jurij15/NavigationService/tree/master/TestApp%23)# Properties
## Page Properties
| Name | Data Type | Description |
| ----------- | ----------- | ----------- |
| IsHeaderVisible | bool | Determines whether NavigationViewHeader will be visible when navigated to this page |
| ClearNavigation | bool | Clear the navigation Breadcrumb will be cleaned when navigated to the page |
| PageTitle | string | Sets the title of the page on Breadcrumb|
| AllowNavigationViewItemFocusWhenNavigatedTo | bool | Focus the required NavigationViewItem when navigated to this page|
| NavigationViewItemName | string | Name of the NavigationViewItem to focus if AllowNavigationViewItemFocusWhenNavigatedTo is set to true |
### Notes
- Only use AllowNavigationViewItemFocusWhenNavigatedTo if ClearNavigation is set to true, otherwise it might look confusing to use## NavigationViewItem Properties
| Name | Data Type | Description |
| ----------- | ----------- | ----------- |
| TargetPageType | System.Type | Page to navigate to |
| NavigateAnimationType | NavigationService.NavigateAnimationType | Animation to use when navigating |
| SettingsPageType | System.Type | Settings page to navigate to when IsSettingsVisible is true and is selected |