Skip to content
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

Why does NavigationView not support menu groups without head page #1073

Open
iray1024 opened this issue Apr 28, 2024 · 1 comment
Open

Why does NavigationView not support menu groups without head page #1073

iray1024 opened this issue Apr 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@iray1024
Copy link

Describe the bug

When adding a Menu that includes sub level menus, a page must also be provided for the Top level menu. Otherwise, the top level menu's name will not be displayed.

To Reproduce

var topLevelMenu = new NavigationMenuItem() { Name = "Top" };

topLevelMenu .MenuItems.Add(new ...);

Expected behavior

Can add a top-level menu item that is only used to expand submenus, not for navigation.

Screenshots

No response

OS version

Win11

.NET version

.NET 8.0

WPF-UI NuGet version

3.0.4

Additional context

No response

@iray1024 iray1024 added the bug Something isn't working label Apr 28, 2024
@iray1024
Copy link
Author

Is it setting Content? I feel like this is a strange logic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant