using wpf controls in adxolform

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

using wpf controls in adxolform
 
Kristian Benoit




Posts: 16
Joined: 2009-03-30
I want to use wpf controls in my adxolform. I figured out I need an Element Host, so I added one to my adxolform. I changed the option show all in the toolbox so I can now see the wpf controls, but they're greyed out, how can I use them ?

Sorry if this seems obvious, I'm new to wpf and adx.

Kristian
Posted 11 May, 2009 14:48:10 Top
Kristian Benoit




Posts: 16
Joined: 2009-03-30
Ok I figure out how it work, you create a new WPF usercontrol in your project which hold the content of the form you want in outlook. After Creating your ADXOlForm, place a ElementHost on it, then you get a combo box that will let you choose which WPF UserControl you want to be hosted in your form.

Kristian
Posted 11 May, 2009 16:03:29 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello Kristian,

Thank you for sharing your findings with forum readers.


Andrei Smolin
Add-in Express Team Leader
Posted 12 May, 2009 07:32:10 Top