Hi, I tried with a minimal application, just a textbox and a button. The button is binded to a RelayCommand instance, and the CanExecute method just return true or false with a random. The textbox text is binded with a string property.
What's making me mad is that the CanExecute method is "always" called: a change of the element focused, a key pressed in the textbox, it seems that everything fires a call to my CanExecute method. Is this a "feature" of the mvvm light toolkit? Does this happen in a "normal" wpf application?
Yes, I know, I think I should know more about the commandind system in wpf... ;-)
Thanks for answers!
David