I am wondering that is there any possibilty that building the addin using WPF, not Winform? I read the samples in the website, and know that I can add WPF usercontrols into the panel or somewhere, but I can not find how to add WPF windows into my project.
Thank you guys.

Note that the Add New Item dialog in the Visual Studio IDE doesn't let you add a WPF window to a class library project (an add-in project is a class library). I assume this means the answer is No.

The .NET Framework requires having a WPF application in order for a WPF window to function. In your case, there's no WPF application. We suppose that showing a WPF window may work but we won't be surprised if such a window will work with limitations that you won't be able to overcome.

Hi there - I just wanted to add a little about my own experiences developing an Excel Addin. I have been developing it for my firm over the past year and at a high level it is perfectly possible to design and build an office addin using WPF.

I actually raised a query on this prior to starting the development which you might find useful:

We have developed a perfectly functioning WPF based Excel addin where we used ADX in conjunction with WPF to build panels that can load from the right hand side which render WPF user controls. The fact we don't have a XAML window component has not hindered us at all and we have been able to express all the complexity you would find in a regular desktop app in this panel. Also we have also been able to integrate third party components to bring some of the styling up to date (MahApps.Metro). The only shortcoming were one occasion where a modal dialogue control required a window to render, but we built our own based on some examples in MahApps.

Also by splitting the UI bits out into their own project has allowed us to unit test things like the viewmodels as you would also normally expect.

This technology is now available for our custom development services only. Based on the Add-in Express for Office core, it is designed for building custom-tailored Office add-ins with far less coding than you usually have to do. Plus, it includes all Add-in Express features such as True RAD, visual designers, Outlook view and form regions, etc.

Get the best platform for building version-neutral, fast and easy deployable plug-ins by using Add-in Express projects templates, visual designers, components and wizards in combination with a perfect Delphi compiler.

This is an extension for Visual Studio that allows developers to quickly create WiX-based setup projects in a familiar Visual Studio way.

The Designer for WiX Toolset lets you forget the plain Windows Installer XML and concentrate on your deployment logic. It integrates several editors with the Visual Studio IDE and provides a set of vdproj designers to configure the file system, registry, user interface, custom actions, launch conditions and more for your setup projects.

The innovative technology for customizing Outlook views and forms. It is included in all Add-in Express for Office products and can be used to extend Outlook views, e-mail, task and appointment windows, To-Do bar, Reading and Navigation panes with your own custom sub-panes.

Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation in
the United States and/or other countries. All other trademarks are property of their respective owners.