I want to initiate a bound command, but I don't want to use a Button
on my UserControl
. In effect the UserControl
is itself a Button
. When it is clicked anywhere on its surface I want to initiate a bound command. Is there a way to give a UserControl
a command?
In a side note: one command for one control and only a few certain out-of-the-box controls? This all seems a little clunky. I'm starting to think that MVVM is impractical. I can decouple my UI just fine with Interfaces and OOP. Anyway, I still have hope.
Also, I'm not willing to hack anything or use an expensive workaround. If I can't do this, I'm abandoning MVVM.