Execute is always called even when CanExecute is false,Is this correct?
Posted
by devnet247
on Stack Overflow
See other posts from Stack Overflow
or by devnet247
Published on 2010-06-10T20:59:21Z
Indexed on
2010/06/10
21:02 UTC
Read the original article
Hit count: 172
c#
Hi I am using a delegate command . I have noticed that regardless CanExecute is true or false execute is always called. Is this correct? I would have assumed that Execute would have been called only if CanExecute is true.
Could you clarify?
Thanks a lot
© Stack Overflow or respective owner