I use Catel and DevExpress DockLayoutManager in my application. I wanted to use this code to automatically create a View Model:
http://gyazo.com/147dff382d16e08cee0270ac20c6b330
http://gyazo.com/24a4ec62e90d49b4e08e3ba1d1790b59
but I can not run the application after compilation.
If we replace catel:UserControl
on UserControl
then everything works fine:
http://gyazo.com/b69a0257d992bb13c19813c055d47d92
, but goes without is not created ViewModel.
I wanted to use IUserControl
but it has not helped. UserControlLogic
does not perceive DocumentPanel
as UserControl:
http://gyazo.com/e5596231404c054e459db06446ab57ee.