Implementing custom CanExecuteChanged event with Commands in WPF

Posted by ajtp on Stack Overflow See other posts from Stack Overflow or by ajtp
Published on 2010-04-06T08:15:09Z Indexed on 2010/04/06 9:33 UTC
Read the original article Hit count: 507

Filed under:
|
|

Hi everybody,

I try to do a custom CanExecuteChanged event for a command button. Inside CanExecuteChanged event I would like to do some stuff when canExecute value change but I don't want to do it by implementing a custom command button class (deriving from Button and Implementing ICommandSource). Also I don't want to do my stuff into CanExecute method.

Any ideas?

Thanks.

© Stack Overflow or respective owner

Related posts about command

Related posts about button