Can WPF and WinForms be mixed within an application?

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

    When hosting non-WPF content (Be it HTML, WinForms, or Win32 content), you will haveAirspace issues. This means you can't completely compost the WPF content with the hosted content. You also can't animate it etc. There are some interesting issues with respect to scrollviewers see here for more details and a fix also.

提交回复
热议问题