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
posted @ 2024-07-04 17:44  FredGrit  阅读(2)  评论(0编辑  收藏  举报