17,740
社区成员
发帖
与我相关
我的任务
分享
CommandBindings.Add(new CommandBinding(ApplicationCommands.Cut,
OnCut, CanCut));
InputGestureCollection coll = new InputGestureCollection();
coll.Add(new KeyGesture(Key.X, ModifierKeys.Control));
RoutedUICommand commCut =
new RoutedUICommand("剪切", "eventCut", GetType(), coll);