At first I would like to give some context of problem: We have large legacy WinForms application, which we decided to move to WPF. But its impossible (for many reasons, including business) to completely rewrite an app from scratch, and we will do this migration step-by-step (one form after another). So for now we need to use WPF windows and controls in WinForms app.At first I would like to give some context of p