I created a sample application in WPF MVVM model. I want to access my usercontrol/properties which are available inside my View from the ViewModel. I didn't find any way. I tried it lot.
Can anyone please help me to resolve it? I need the way asap.
(Please mark as Answer, if this resolved your query. Thanks...)
Regards,
-- Kunal Chowdhury (My Blog)
I would like to know some of the things for my understandings,
1. you want to access usercontrol in the sense, are you going to bind values to the controls ?
If you want to bind any controls in the usercontrol, then you can set those values to any properties in ViewModel and bind through XAML. Or else if you want to simply set any values for your usercontrol properties, then you can do all the stuffs in xaml code itself.