-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Route, Region and Navigation Issues #2615
Comments
App.Xaml.cs -> RegisterRoutes
` Main.xaml
GoodsDetail.Xaml
The URL address is:
What about when Detail has parameters? |
Hello @lhLife My RegisterRoutes Definition:
Important to notice would be for example, You done the Details Route Name as only Details, but your actual Model behind the scenes is SettingsDetailsModel and GoodsDetailsModel and not both DetailModel. So I would maybe do the routeName in your app also with this Prefix, calling it GoodsDetails and SettingsDetails, so there is no doubt in which you want from the navigator. also in my opinion your code readability is suffering from you putting the my MainPage in this case is including a NavigationView, because I would like to have such thing on the left side and clicking the items (best case i could just do them in the ViewModel or Model via a Databinding, but had problems on WinUI application before, so this is only done with the How to guide again:
The One, Two, Three NavigationViewItem is throwing the warn, but still doing what it should do. the thing that makes me wonder on your code, you did not add the ./ which made my navigation work, and without this it is not. I do know, this Qualifyers are not used in the guide (not on every page where it is used, they are done differently, which is really not helping at all. how should I know which one is correct? Why dont we use the Request instead? could request the page? but as you recognized already, the "One" is not shown initially only if you switch forewards/backwards. Tryed to do this also with the codebehind on the Model but to be honest, I really dont know how that should look like. |
Current behavior
The relationship between Route and Region is chaotic
docs demo
`
`
This issue is related to it
Can we discuss this issue in detail as it may lead to more complex problems.
How to display the Region section on the URL.
The complexity of URL display in regions after multi-level navigation
Expected behavior
How to reproduce it (as minimally and precisely as possible)
Environment
Nuget Package (s):
Package Version(s):
Affected platform(s):
Visual Studio:
Relevant plugins:
Anything else we need to know?
The text was updated successfully, but these errors were encountered: