Replies: 1 comment
-
Assuming you have access to the NVI under, in that case, you can set the CommandParameter on the NVI itself: <NavigationView utu:CommandExtensions.Command="{Binding TestCommand}">
<NavigationView.MenuItems>
<NavigationViewItem Content="asd" Tag="a" utu:CommandExtensions.CommandParameter="a" />
<NavigationViewItem Content="qwe" Tag="q" utu:CommandExtensions.CommandParameter="q" />
<NavigationViewItem Content="zxc" Tag="z" utu:CommandExtensions.CommandParameter="{Binding RelativeSource={RelativeSource Mode=Self}, Path=Tag}" />
</NavigationView.MenuItems>
</NavigationView> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
-- TKSDev on Discord
Beta Was this translation helpful? Give feedback.
All reactions