3

I want to re-trigger the canExecute functionality from a DelegateCommand after some modifications have been made by the user. How do I do this?

Nathan Tregillus
  • 6,006
  • 3
  • 52
  • 91

1 Answers1

1

The event CanExecuteChanged of the interface ICommand must be raised to re-trigger call of the CanExecute method.

Create a public method "RaiseCanExecuteChanged" in the DelegateCommand which fires the event.

Bernhard
  • 195
  • 1
  • 11