WPF in ADX add-ins...

Add-in Express™ Support Service
That's what is more important than anything else

WPF in ADX add-ins...
 
Heinz-Josef Bomanns




Posts: 206
Joined: 2008-02-28
Hi,

did a little search on the forum about 'WPF' and found that it's possible within ADX add-ins - but how exactly? Only WPF control i can add to my project is a UserControl, how to display it as dialog or main window? Or do i have to use a WinForms form and put the WPF controls into it? Thanks for any hints, links, solutions...
__________________
Greetings, HJB
Posted 29 Apr, 2016 04:57:57 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Heinz-Josef,

In your Add-in Express based solution, you can use the native System.Windows.Forms.Form forms with the System.Windows.Forms.Integration.ElementHost control. You can find more information about this control in the following MSDN article:
https://msdn.microsoft.com/en-us/library/system.windows.forms.integration.elementhost%28v=vs.110%29.aspx
Posted 29 Apr, 2016 07:00:14 Top