Ghost1372

everything can be handy

NavigationParameterExtension

You should use this markup extension with JsonNavigationService or NavigationServiceEx.

Name
PageType
BreadCrumbHeader
NavigationTransitionInfo

Example

1
2
3
4
5
6
7
<dev:SettingsCard Command="{x:Bind local:App.Current.NavService.NavigateToCommand}"
CommandParameter="{dev:NavigationParameter PageType=views:GeneralSettingPage,
BreadCrumbHeader='General'}"
Description="Change your app Settings"
Header="General"
HeaderIcon="{dev:BitmapIcon Source=Assets/Fluent/Settings.png}"
IsClickEnabled="True" />

Demo

you can run demo and see this feature.

0%