Is WindowsFormsHost fit for purpose (.net WPF hosting WinForms)?

前端 未结 6 1086
南旧
南旧 2021-01-02 06:51

A GUI driven application needs to host some prebuilt WinForms based components. These components provide high performance interactive views using a mixture of GDI+ and Direc

6条回答
  •  有刺的猬
    2021-01-02 07:26

    Do note the absence of a WPF Application object when hosting in Winforms. This can result in problems if you're taking an existing WPF component and hosting it in Winforms, since resource lookups and the likes will never look in application scope. You can create your own Application object if it is a problem.

提交回复
热议问题