Two views - one ViewModel

前端 未结 3 1516
孤独总比滥情好
孤独总比滥情好 2021-01-15 18:17

I must have misunderstood the concept of ViewModels and Views. But at this moment I can\'t rebuild the application from ground and this time doing it better. My

3条回答
  •  感动是毒
    2021-01-15 18:30

    Store the VM in a parent VM's property, then bind the property to two ContentPresenters using different ContentTemplates (containing the respective views).

提交回复
热议问题