每当菜单项的子菜单打开时,我想处理一个事件.关闭也是如此.我怎样才能做到这一点?
c# wpf event-handling wpf-controls menuitem
我有一个RoutedUICommand叫Comment Selection. 我需要为此命令添加一个输入手势,就像在 VIsual Studio 中一样,即。( Ctrl+K, Ctrl+C)。我怎样才能做到这一点?请帮助我。(记住 VS 的功能)。
RoutedUICommand
Comment Selection
问候,贾瓦哈尔
wpf hotkeys routed-commands
wpf ×2
c# ×1
event-handling ×1
hotkeys ×1
menuitem ×1
routed-commands ×1
wpf-controls ×1