Using WPF, MVVM and Bindings with a WinForm UserControl, how to integrate successfully?

Personally, I would handle this by creating a WPF UserControl that wraps the Windows Forms control. This would allow you to encapsulate all of the required code-behind into your WPF Control, and then use it in a pure MVVM manner.

Note that this doesn't really answer the questions (I should have read better). If you're interested in using a WPF control in a WinForms app, here's an approach. My scenario is: 1) Have a WinForms control that is used many places in my app.

2) Want to develop a WPF implementation that will use the MVVM pattern. 3) Want to write the control as a proper WPF control complete with dependency properties so it can be used properly when my app is eventually all WPF. 4) Want to keep the same WinForms control and API to not break existing client code in my app.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions