Should there be one navigation - NavigationView? #329
Replies: 4 comments 4 replies
-
What about #327 ? |
Beta Was this translation helpful? Give feedback.
-
Hello Lepo, Current navigation is fine. However, the animation of the navigation banner suffers from slowing down when opening the pages, which unfortunately is not very pretty. I have already created issues that have remained unanswered. For me, this inconvenience should already be resolved. The breadcumd is a good idea but it must remain a separate control, whether we have the choice to use it or not. The Hamburger icon must be present if you decide to hide the current navigation banner. The back button in the title bar would be really nice! |
Beta Was this translation helpful? Give feedback.
-
I've seen wpf project who use frame for content and the project contain just one page and the navigation baner is 100% fluid during page opening. This is maybe the right choise tu have reactive app. |
Beta Was this translation helpful? Give feedback.
-
Of course NavigationView. |
Beta Was this translation helpful? Give feedback.
-
Hey guys,
to make breaking changes as much as possible controlled I would like to ask if at this stage you think that there should be one navigation control -
NavigationView
.Giving a bit of a wider perspective, when creating the current navigation, I did not follow WinUi but my own implementations created for the needs of other projects. While it made sense for a small scope of apps now I can see that there are too many use cases that I have not considered.
Control
NavigationView
would have a presenter -Frame
or some other presenting control and aBreadcrumb
included.It should be a whole and not require additional controls. All this to keep everything as simple as possible.
For example:
Parameters named similarly to Win Ui
NavigationView
-MenuItems
instead ofItems
andFooterMenuItems
instead ofFooter
.Instead of
NavigationStore
orNavigationCompact
class, we could usePaneStyle="Compact"
- Compact / Store / Fluent.Hamburger button
Hamburger button and Back button can be in title bar or the navigation itself. This is also a problem that should be solved. Should
TitleBar
implement a property likeNavigation="{Bind RootNav}"
or maybe a newNavigationControls
control that could be placed inTitleBar.Header
.Frame
And the issue of rendering the control itself. We can skip the whole
Frame
control related stuff and simply useContentPresenter
orScrollViewer
. This will reduce the total number of rendered elements but the effect will be the same. Anyway, the most common way to create page objects is to do it before entering them inFrame
.I would be grateful for your suggestions and comments.
Beta Was this translation helpful? Give feedback.
All reactions