比较Visual Studio 2015和Blend for Visual Studio [英] Comparison Visual studio 2015 and Blend for Visual Studio

查看:1583
本文介绍了比较Visual Studio 2015和Blend for Visual Studio的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是有关Windows应用商店应用开发的新手. Blend for Visual Studio的主要功能和优点是什么?

I am a newbie about Windows store apps development. What is the main function and benefits of Blend for Visual Studio.

Visual Studio中已经嵌入了XAML设计器和所有工具.为什么需要Visual Studio的Blend? Blend for Visual Studio的主要优点是什么? 因为在我观看的许多视频中,人们更喜欢将Blend用于Visual Studio.谢谢.

There is already a XAML designer and all tools embedded in Visual Studio. Why there is a need for Blend for Visual Studio? What is the main advantage of Blend for Visual Studio? Because in many videos I watched, People prefer to use Blend for Visual Studio. Thanks.

编辑:我的问题是关于当前Blend for Visual Studio版本.我不在乎较旧的Blend版本.

My question is about the current Blend for Visual Studio version. I dont care about the older Blend versions.

推荐答案

混合和Visual Studio-为什么要使用两个工具?

Visual Studio XAML设计工具,使您能够:

  • 设计自定义布局使用功能强大的布局工具(包括模板,内置控件,标尺,指南和捕捉支持)来为Windows Store应用程序设计自定义布局.
  • 创建控件并设置其样式,将控件拖放到设计图面上,然后通过直接在UI中修改属性来对其进行样式设置.设置图像和元素的样式.
  • 创建和编辑控件模板:使用模板编辑工具来创建可在整个项目中重复使用的自定义控件模板.将它们添加到您的控件库中,以便在当前项目之外的项目中重复使用它们.
  • 创建和编辑数据模板,创建定义您希望数据在应用程序中显示方式的模板.
  • 显示示例和设计时数据.绑定并显示在Windows Store应用程序中的数据,以便您可以更轻松地在运行时修改数据的外观.
  • 使用行为来添加交互性,方法是将内置行为拖到设计图面上的对象上,然后修改属性以适合您的需求,从而为应用程序添加交互性.
  • 编辑XAML标记除了UI工具之外,这些工具可轻松创建和修改XAML,而无需触摸代码.
  • Design a custom layout Use powerful layout tools, including templates, built-in controls, rulers, guides, and snapping support, to design custom layouts for your Windows Store app.
  • Create and style controls Drag and drop controls onto the design surface, and then style them by modifying properties directly in the UI. Style images and elements.
  • Create and edit control templates Use the template editing tools to create custom control templates that can be reused throughout your project. Add them to your control library to reuse them in projects outside of the current project.
  • Create and edit data templates Create templates that define how you want your data to be displayed in your app.
  • Display sample and design-time data Bind to and display data in your Windows Store app so that you can more easily modify the appearance of your data at runtime.
  • Use behaviors to add interactivity Add interactivity to your app by dragging a built-in behavior onto the object on the design surface and modifying the properties to suit your needs.
  • Edit XAML markup In addition to the UI tools that make it easy to create and modify XAML without touching code.

Blend使您能够:

  • 插入控件并在XAML设计器中修改其行为

  • 向画板添加控件.您可以将控件从资产"面板拖到画板上,然后在属性"窗口中对其进行修改.
  • 使控件脱离图像,形状或路径.您可以使任何对象成为控件.
  • 让控件执行操作:控件可以在用户与其互动时执行操作.例如,他们可以开始制作动画,更新数据源或播放视频.使用触发器,行为和事件来使控件执行操作.
  • Add controls to the artboard You can drag controls from the Assets panel onto the artboard, and then modify them in the Properties window.
  • Make a control out of an image, shape, or path You can make any object into a control.
  • Make controls do things Controls can perform actions when users interact with them. For example, they can start an animation, update a data source or play a video. Use triggers, behaviors, and events to make controls do things.

在XAML Designer中插入图像,视频和音频片段

绘制形状和路径

  • 绘制形状
  • 画一条路
  • 将形状转换为路径
  • 组合路径
  • 创建复合路径
  • 创建剪切路径

修改对象的样式

动画对象

  • 创建时间表
  • 添加关键帧并重复动画
  • 添加用于互动的事件触发器
  • 动画颜色
  • 创建和修改运动路径
  • 设置按钮动画
  • 创建动画并使用缓动

参考
https://msdn.microsoft.com/en-us/library/jj129478.aspx
https://msdn.microsoft.com/en-us/library/jj170634.aspx

References
https://msdn.microsoft.com/en-us/library/jj129478.aspx
https://msdn.microsoft.com/en-us/library/jj170634.aspx

这篇关于比较Visual Studio 2015和Blend for Visual Studio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆