Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Windows Form ElementHost (Read 1906 times)
deanhully
YaBB Newbies
*
Offline



Posts: 26
Joined: Aug 25th, 2008
Windows Form ElementHost
Sep 13th, 2008 at 10:58pm
Print Post  
I am trying to use wpf diagram component in a windows form elementhost control but I can't get the diagram component to show up in the windows form toolbox. I do have this component available in a wpf project but I must be loading the  mindfusion.diagramming.wpf.dll into the windows form project incorrectly. Any ideas appreciated.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Windows Form ElementHost
Reply #1 - Sep 14th, 2008 at 7:20am
Print Post  
WPF components cannot be added to the Windows Forms toolbox. You could use the Add Reference command from the solution explorer context menu and select the diagramming.wpf.dll. The you should be able to create a Diagram instance programmatically and add it to the ElementHost.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint