Insert a WPF usercontrol in a viewpart

Dear Language developers,

Has anyone ever tried to develop a plugin with a view part which would display a WPF user control? Or a view part with a user control containing an hosting element for a WPF user control?

I have tried this latter solution but I am getting trouble when trying to embed the WPF user control in the hosting element (the WPF user control is not in the list of objects to insert in the hosting element). Moreover, after I had added a WPF user control to my project, I received an error message when building the project (error message similar to the one I am receiving when I forget to close Studio when building the plugin).

Does anyone know why this does not work? Is it the plugin template which does not support WPF? Or is it a problem coming from Visual Studio Express 2013?

I would like to implement some parts of my view part (or even the whole view part) in WPF in order to improve the performance of my plugin. With a standard user control, I need to create and display objects at runtime, which is making the application slower. If I could use WPF, I would not need to create UI objects, thus making my plugin quicker.

Thank you in advance for your support.

Regards,

Laurent

Parents Reply Children
No Data