Can WPF and WinForms be mixed within an application?

后端 未结 6 1076
粉色の甜心
粉色の甜心 2020-12-02 16:55

Can both WPF and Windows forms controls be used within one application? How difficult or practical an idea is this?

6条回答
  •  生来不讨喜
    2020-12-02 17:35

    We hosted significantly complex WPF controls in an existing LOB WinForms app. It can be done, but we did have issues (some no doubt caused by the steep learning curve). These primarily had to do with loss-of-focus events not being fired when expected, and also keyboard navigation issues.

提交回复
热议问题