views:

187

answers:

2

I've got an idea for a nice WPF designer extension, but I can't find any information on how to interact with the WPF designer via an extension. Lots of info about the text editor, but none about the WPF designer.

Important note: I'm looking to do this through an extension, like you'd download from the Visual Studio Gallery, rather than from within a control that is added to the design surface.

Looking for any kind of info/links on the subject, thanks.

A: 

From what I've seen, Microsoft doesn't really care too much about the WPF support in Visual Studio. They are more focussed on Expression Blend - which is FAR superior for making WPF controls.

A quick google search turned up this tutorial, this may help you get started if you would like to write plugins for it.

csauve
The WPF designer speed/feature set in 2010 is a marked improvement over 2008. Also I think a commitment to moving Visual Studio 2010 to using WPF proves otherwise. (BTW: I did not vote down your answer, but I thought you deserved a comment as to why someone else would have).
Dennis Roche
+1  A: 

The VS WPF Designer has support for 3rd party control extensibility, but almost no support for standard VS extensibility. The Designer lives in its own AppDomain, and you would have to implement your own remoting infrastructure between VS and the WPF Designer in order to support extensions.

Evan Rothfield
AFAIK, this appears to be the case. I searched the SDK documentation earlier today and could not find mention or interfaces that you could use to extend the WPF Designer. As you say, there is plenty for the Code Editor.
Dennis Roche
Thanks for the answers.
Will

related questions