Take the 2-minute tour ×

When will the CanExecute event be ideally raised by the control that realizes the ICommandSource interface?? I tried to add a breakpoint to the handler to check when it is getting raised and it seems to be executed whenever the control is rendered on the screen. Can someone explain when exactly it will be raised and how to raise it at will???


Sudarsan Srinivasan

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Looks like CommandManager.InvalidateRequerySuggested() is the only possible way. Check these links for more details,



Any other solutions??

Sudarsan Srinivasan

share|improve this answer
add comment

Your Answer


