Is there a way to host WPF UserControl
(or Window
) directly in a custom task pane, either through Office Interop or some clever HWND play etc? Has anyone done it before? Note that I know about the popular ElementHost
method and have done it countless number of times before. I'm looking for somehow eliminating the need of a WinForms component.
It would help if someone could even point to an official document which confirms that it isn't possible.
This suggested duplicate asks us to use ElementHost
which is precisely what I'm looking to avoid.