2010年是否有可能扩展WPF设计面?
我有一个不错的 WPF 设计器扩展的想法,但我找不到任何有关如何通过扩展与 WPF 设计器交互的信息。有关文本编辑器的大量信息,但没有有关 WPF 设计器的信息。
重要提示:我希望通过扩展来完成此操作,就像您从 Visual Studio Gallery 下载一样,而不是从添加到设计图面的控件中进行下载。
正在寻找有关该主题的任何类型的信息/链接,谢谢。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
VS WPF 设计器支持第 3 方控件扩展性,但几乎不支持标准 VS 扩展性。设计器位于其自己的 AppDomain 中,您必须在 VS 和 WPF 设计器之间实现自己的远程处理基础结构才能支持扩展。
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.
据我所知,微软并不太关心 Visual Studio 中的 WPF 支持。他们更关注 Expression Blend - 这对于制作 WPF 控件来说要优越得多。
快速谷歌搜索出现本教程,如果您想为其编写插件,这可能会帮助您入门。
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.