Using WPF Control inside word 2007 is really simple today I’ll walk you through the process.
1) Go to start ->Visual Studio 9.0->Microsoft Visual Studio codename Orcas.
2) select New project->Office->2007 and select Word Document and name it WPFControlforWord2007.
3) Add an Existing WPF Custom control library to the same solution.
4) Add the following References to WPFControlforWord2007
5) Write following code to add the control in Action Pane
privatevoid ThisDocument_Startup(object sender, System.EventArgs e)
RatingUserControl objwpfctr = new CustomControlLibrary.RatingUserControl();
ElementHost host = new ElementHost();
host.Height = 100;
host.Child = objwpfctr;
Here it is we have Custom WPF control in Word 2007 Actionspane
Sample code is attached