How could i bind all context menu items to one single command, which gets the index of the menu item called? I have a WPF/MVVM project.
<ContextMenu x:Key="cm" ItemsSource="{Binding ActionItems}"
DisplayMemberPath="ActionDescription">
</ContextMenu>