How to leverage designer when using a ViewModel first approach and composition

痞子三分冷 提交于 2019-12-11 09:39:50

问题


I have some xaml like:

<ContentControl x:Name="MyContent" />

and then on my ViewModel there is, of course, a MyContent property which references a ViewModel. Then Caliburn does its compositional magic.

This is great, but in design time I can't see the composition. I see 'most' people raving about the view model first approach, but I'm a little baffled as to whether there's a way to leverage the designer when doing this that I haven't yet realized or do all the vm first people just live with the fact that they have to run the application to see what it's going to look like?

来源:https://stackoverflow.com/questions/14536306/how-to-leverage-designer-when-using-a-viewmodel-first-approach-and-composition

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!