Profile Picture

Hosting Nevron Diagram controls in WPF

Posted By Martin Bradfrd 14 Years Ago
Author
Message
Martin Bradfrd
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 5, Visits: 1

Hi there , I wondered if anyone had experience of hosting Nevron Diagram controls in WPF via the WindowsFormsHost control? I was able to host a browser control but the system seemed unhappy when i put a NDrawingDocument in a control. Has anyone got this hanging together successfully?

 

Thanks,

Martin BG



Nevron Support
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: 2 days ago @ 1:54 AM
Posts: 3,054, Visits: 4,009

Hello Martin,

 

You can use Nevron Diagram WinForm controls in WPF applications through the WindowsFormsHost.

We have assisted several customers with their requirements. We have prepared a simple example (attached) for integrating Nevron Diagram for Windows Forms in WPF apps. You will have to update the references.

 

Please note that If you are using Nevron .NET Vision for VS2010, you must switch the target framework to ".NET Framework 4" as by default the VS2010 applications target ".NET Framework 4 Client Profile".

 

You can use both Nevron Chart and Diagram for Windows Forms in any WPF application. Following is a nice post about WinForms and WPF: http://www.switchonthecode.com/tutorials/wpf-tutorial-using-winforms-in-wpf

Best Regards,
Nevron Support Team



Attachments
Diagram_WpfApplication1.zip (200 views, 65.00 KB)
Martin Bradfrd
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)Forum Newbie (5 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 5, Visits: 1
Awesome, the attached demo showed me how to do it, thanks!



Similar Topics


Reading This Topic