views:

12

answers:

1

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

Some code snippets would be most welcome...

+1  A: 

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

NVM