DCSIMG
WPF,Visual Studio - David Sackstein's Blog

Browse by Tags

All Tags » WPF » Visual Studio (RSS)

WPF, Windows Forms and ATL Part 3 by David Sackstein

Continued from Part 2 . So now for the second scenario. Hosting WPF controls in legacy containers. Well let’s start with hosting a WPF control in a Windows Form. Then we’ll have a bash at hosting a WPF control in an unmanaged application (hee, hee). Here is the source code for the three projects described in this post. Hosting WPF Controls in a Windows Form Hosting WPF Controls in a Windows Forms application is quite straightforward. The key is the ElementHost control in the Systems.Windows.Forms...
Powered by Community Server (Commercial Edition), by Telligent Systems