Triggers vs CanExecute

Sorry if this isn't the correct place to post this question but I've been wondering about the differences between using a trigger with a binding condition set to a behavior to do something such as making a button enabled (and thus clickable) based on an entry value vs just using the can execute functionality of a command using the view model entry text value binding.

I've seen threads where both are recommended for use and I've personally implemented them both myself to test them out. Just wanted to see if one of them is considered a best practice vs the other and why.

Best Answer

Answers

Sign In or Register to comment.