Reputation: 175
What I would like to create is a NavigationViewItem which is not selectable but is clickable. For example the "New Message" item in UWP App Mail that you see in the image.
When clicked the item show a dialog window but the selection does not change and the colored bar does not move from the previous selected item.
Thank you for the help.
Upvotes: 2
Views: 220
Reputation: 10785
<NavigationViewItem SelectsOnInvoked="False"/>
It's a new dependency property in Windows 10.1809. See the docs here.
Upvotes: 1