Can WPF and WinForms be mixed within an application?

后端 未结 6 1080
粉色の甜心
粉色の甜心 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:32

    You can also use an HWNDSource and HWNDHost controls to embed WPF controls in a WinForms (or any Win32, really) app.

提交回复
热议问题