ApplicationCommands.Undo.Execute(null, this);
CommandBinding 在其上执行 ExecutedRoutedEventHandler .
CommandBinding
ExecutedRoutedEventHandler
有没有办法找到 (或者至少对处理程序)将被执行的?
有时了解谁在处理命令对于调试来说是件好事。
您可以尝试在以下位置检查CommandBinding列表:
UIElement ContentElement UIElement3D