Reuse controls inside a usercontrol

Posted by Lawrence A. Contreras on Stack Overflow See other posts from Stack Overflow or by Lawrence A. Contreras
Published on 2010-04-08T07:06:57Z Indexed on 2010/04/08 7:13 UTC
Read the original article Hit count: 282

Filed under:
|
|
|
|

I have a UserControl UserControl1 and a button inside the UserControl1. And I have a UserControl1ViewModel that has an ICommand property for the button. Using this command I need to call a method outside(from other VMs or VM of the MainWindow) the VM. What is the best practice for this?

© Stack Overflow or respective owner

Related posts about mvvm

Related posts about icommand