WPF dynamically generate contextmenu on datagrid via viewmodel, binding matched command of viewmodel
The key of dynamically generated contextmenu and menuitems is to bind command to appropriate command in viewmodel. <DataGrid.ContextMenu > <ContextMen