It is very easy to bind Button
s in WPF apps to Command
s in a VIEWMODEL
class. I\'d like to achieve a similar binding for a TextB
Aryan, not every WPF object supports commanding. So if you wan't to do that you'll need either to call your view model from your code behind (a little coupled) or use some MVVM Messaging implementation to decouple that. See MVVM Light Messaging toolkit for an example. Or simple use triggers like this: