Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disadvantages to hosting Windows Forms Control in WPF Application? [closed]

Tags:

winforms

wpf

Are there any disadvantages to hosting a Windows Forms Control in a WPF Application?

My first thought is that performance might be hurt a little bit. Also, there is the air gap issue between the forms control and the wpf application.

like image 789
kevindaub Avatar asked Dec 31 '10 03:12

kevindaub


People also ask

Is it possible to use Windows Forms in a WPF application?

Forms. Integration) A Windows Forms control that can be used to host a Windows Presentation Foundation (WPF) element.

Why is WPF faster than WinForms?

This is due to the fact that the WPF framework is much larger than winforms and therefore it has many more "things to load" in order to work. This is also true when you compare the cold startup times (again, in a 1-control situation).


1 Answers

What Jeff wrote plus there are also some graphical glitches as well (especially when resizing).

like image 145
Matěj Zábský Avatar answered Sep 20 '22 17:09

Matěj Zábský