23 : base(execute, canExecute) { }
34 public override void Execute(
object parameter)
36 base.Execute(parameter);
37 if (CommandExecuted != null)
ObservableRelayCommand(Action< object > execute, Predicate< object > canExecute)
Creates a new observable command.
Command class for binding UI commands with view models.
EventHandler CommandExecuted
Event handler of events executing after finishing command action
ObservableRelayCommand(Action< object > execute)
Creates a new observable command that can always execute.
Extended relay command class by adding event after executing command. Useful for performing additiona...
override void Execute(object parameter)
Execute action and then fire CommandExecuted event.