-
Notifications
You must be signed in to change notification settings - Fork 710
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
Add flyout support to NavigationViewItem #1570
Comments
This issue: |
I think #79 covers this request, does it not? @vgromfeld what would you like to see out of hierachical navigationview that #79 doesn't encompass? We aren't currently planning support for arbitrary content in the flyouts, is that what you are looking for? |
@jevansaks As for me - HierarchicalNavigationView may be too complicated for several scenarios: it will have different states for different pane position that may be not necessary. |
disagree. It can be easily added to the Content of NavigationViewItem if necessary |
@jevansaks, for my current needs, HiearchicalNavigationView + If later I want to do something more complicated like having a complete flyout menu with sub items, separators, etc.. or having a fully custom flyout, the HiearchicalNavigationView will not be enough. @ad1Dima I agree that adding the chevron is easy to do but this is something that should be handled at the control level to gracefully integrate with the different states (top, left, compact). |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment. |
Add flyout support to
NavigationViewItem
. It can either be done directly onNavigationViewItem
or through a newNavigationViewButtonItem
type;Summary
We often need to add a "global"/primary action at the beginning of our navigation items.
We can add custom controls but they do not always integrate well in all display modes (top, left or compact). When a single action is needed, we can use a
NavigationViewItem
withSelectsOnInvoked="False"
but when more is needed, it would be great to have the ability to automatically display a custom flyout. Basically having the same behaviors asButton
s.Rationale
Scope
NavigationViewItem
(or another sub control) have aFlyoutProperty
that will accept aFlyoutBase
instanceNavigationViewItem
should not be selectable when a flyout is attached (SelectsOnInvoked=False
)NavigationViewItem
should display a chevron when a flyout is attachedImportant Notes
I've attached a sample application showing the expected behavior using some tweaks.
This feels related to the work been done for #79 and request #1488
NavViewItemFlyout.zip
The text was updated successfully, but these errors were encountered: