wpf – Handle ApplicationCommands in CustomControl – Education Career Blog

How do I wire ApplicationCommand.Undo to handlers in a custom control?

Some code snippets would be most welcome…

,

this.CommandBindings.Add(new CommandBinding(ApplicationCommands.Undo, UndoExecuted, CanUndo));

Leave a Comment