Is there a way I can attach a handler (callback) in buttons of my control (which eventually execute the ICommand) so that my control knows when a command execution is completed?
Is there a way I can attach a handler (callback) in buttons of my
Share
You can create abstract CallbackableCommand that would raise callback method.
Inherit your command from CallbackableCommand and override CanExecute, CanExecuteChanged and ExecuteImpl(instead of Execute)
Own element to specify
CommandExecutedevent:Edit:
In your control specify
Callbackable.CommandExecutedeventExecuted event handler: