标签: c# .net wpf xaml
我添加了代码拦截PreviewMouseLeftButtonUp / PreviewMouseLeftButtonDown事件,然后DataGrid停止响应任何键盘命令(行上/下等) 它有键盘焦点,但当我按下键或向下键时它会立即丢失 为什么?有什么想法吗?