How do I use MVVM from within Windows Forms to display a WPF control

后端 未结 2 1120
北海茫月
北海茫月 2021-01-19 02:44

I have a requirement to integrate a WPF control into an existing Windows Forms app. The simple and easiest way to do this would be to create an ElementHost cont

2条回答
  •  我在风中等你
    2021-01-19 03:05

    The essence of MVVM is binding. Since you do not have that in Windows Forms, I am afraid you cannot use MVVM in there.

提交回复
热议问题