-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
NavigationView or something similar? #2521
Comments
Not in core Avalonia, no. I'm not sure if anyone has tried implementing it. |
With SplitView done I think the WinUI NavigationView can be ported to C# and brought over. This is a fundamental control to several modern UWP/WinUI apps and will significantly lower the barrier of entry for applications coming over to Avalonia. I definitely think this is a control that should go into the main repo. |
I should add, @Kinnara already has a nice C# port completed here: https://github.com/Kinnara/ModernWpf/tree/master/ModernWpf.Controls/NavigationView |
The latest hierarchical Navigation View from WinUI depends on the ItemsRepeater now. I believe Avalonia's ItemsRepeater does not support Tree structures (for good reasons). So this might create a hinderance from porting over the latest code. This is more a note to anyone who might want to port this over -- myself included. |
SelectionModel tree structure is required, because even top and bottom lists is represented as two leafs of the selection tree. Right now it is possible to implement old variation of NavigationView, or wait for updated SelectionModel, or implement internal replacement. |
@maxkatz6 Yes, I was thinking we wait for the new SelectionModel rather than port the old version at this point -- sorry I misspoke talking about the ItemsRepeater and SelectionModel together. I would love to trial porting some UWP apps over to Avalonia but without NavigationView its just too much work to get them running at first. If other things don't pan out I might be targeting Avalonia sooner rather than later though and will contribute this control myself if that time comes (along with finishing up/improving ColorPicker :) ). I firmly believe Avalonia has the best architecture/code-quality and is the future UI stack we will all want to be moving to. |
We really need a proper NavigationView!!! |
@kvalitetskontrollMarkaryd |
I don't have the required skills. I have found this: https://github.com/amwx/FluentAvalonia Looks promising! |
I'm curious if there has been any recent discussions about NavigationView. The Fluent Avalonia port is the de-facto Avalonia version of this control now and it would be great to pull it into mainline Avalonia itself. I know there was discussion with the core team about this in the past based on this comment. Is there any chance after @amwx does his round of updates for Windows 11 this can be pulled into Avalonia?
|
As of today, I've started using the NavigationDrawer from Material.Avalonia, for both Desktop and Android platforms. It does the job I needed. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Does Avalonia provides something equivalent/similar to NavigationView layout?
https://docs.microsoft.com/it-it/windows/uwp/design/controls-and-patterns/navigationview
The text was updated successfully, but these errors were encountered: