Process application commands in CustomControl

How to connect ApplicationCommand.Undo to handlers in a user control?

Some code snippets will be most welcome ...

+3
source share
1 answer

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

+4
source

Source: https://habr.com/ru/post/1770511/


All Articles