Visual Studio 2010 的混合模板?
我原以为 Blend 4 应该包含 VS 2010 模板(用于自定义行为等)。我安装了这两个工具,但在 Visual Studio 中没有看到模板。我需要做些什么来安装它们吗?
I had thought that Blend 4 was supposed to have included VS 2010 templates (for custom behaviors, etc). I have both tools installed, but I do not see the templates in Visual Studio. Is there something I need to do to install them?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
其模板作为 混合 SDK。 行为的代码< /a>, 触发器, < a href="http://msdn.microsoft.com/en-us/library/system.windows.interactivity.triggeraction%28v=Expression.40%29.aspx" rel="nofollow">等。也是 SDK 的一部分,因此如果您想使用这些类,您肯定需要安装它。我做了一些探索,看起来这些模板只能从 Blend 获得,而不能从 Visual Studio 获得(奇怪)。
The templates for that are included as part of the Blend SDK. The code for Behaviors, Triggers, etc. is also part of the SDK so you'll definitely need to install it if you want to use those classes. I did some poking around and it looks like those Templates are only available from Blend, not Visual Studio (weird).
Blend 是一名 Silverlight/WPF 设计师。目的是将设计问题与开发问题分开。如果您键入“文件”->“新建项目”,您应该会看到 Silverlight 和 WPF 数据绑定和非数据绑定项目的项目模板。
Blend is a Silverlight / WPF designer. The aim is to separate the design concerns from the development concerns. If you type File->New Project you should see projecct templates for Silverlight and WPF data bound and non-data bound projects.