Blend for Visual Studio 2012 by Example: Beginner's Guide

More Information
  • Learn about layouts and controls offered by Blend and how to use them
  • Understand the need for and purpose of XAML and how to use it in Blend applications
  • Create applications for Windows 8
  • Add behaviors and states to our applications
  • Explore vector graphics
  • Create user and custom controls and reuse them across applications
  • Understand data binding and use it in our applications

Creating applications with compelling graphics has been one of the main goals of client applications, and with the arrival of WPF, Silverlight, and HTML5 it is much easier than ever before to create interactive and rich user interfaces.

Blend for Visual Studio 2012 by Example Beginner's Guide will give you a good grounding in creating Windows, Web, and Windows Phone applications. You will also look at the various layouts and controls available in Blend and how we can create animations and behaviors in Blend.

Towards the end, you will be aware of the various capabilities that are available in Blend out of the box.

  • Discover how to add storyboard and animation to the applications
  • Find your way across the Blend IDE
  • A practical approach to using SketchFlow to create, package, and communicate designs before actual implementation
Page Count 226
Course Length 6 hours 46 minutes
ISBN 9781849693882
Date Of Publication 27 Jul 2015
Blend for Visual Studio 2012
Downloading Blend
Time for action – installing Microsoft Blend
Creating your first application in Blend
Time for action – creating a project in Blend using an existing template
The fundamental pieces of the Blend IDE
Time for action – adding TextBlock
Time for action – adding text to TextBlock
Time for action – changing the color of the text
Time for action – changing the background color of the grid
Time for action – changing the background of the grid
Time for action – running the application
Time for action – integrating the project into Visual Studio
Using help and documentation
Time for action – creating a Run window using grid
Time for action – using canvas
Time for action – using StackPanel
Other layout containers
Building user interfaces
The basics of XAML
Time for action – taking a look at XAML code
Time for action – adding other namespaces in XAML
Naming elements
The code-behind class
Time for action – using a named element in a code-behind class
Time for action – adding elements in XAML by hand-coding
Time for action – defining the gradient for the grid
Comments in XAML
Styles in XAML
Time for action – defining a style in XAML
Time for action – using a style in XAML
Where to go from here
Creating and using styles
An introduction to styles
Time for action – creating a resource
The resource dictionary
Simple styles
Style specification
Application skinning
Time for action – creating resource dictionaries
Editing the template
Time for action – editing the template
An introduction to behavior objects
Adding built-in behaviors
Time for action – adding a storyboard
Visual states
Visual State Manager
Time for action – modifying with visual states
Understanding the animation service
Time for action – adding the storyboard
Time for action – switching workspaces
Time for action – using keyframes
Time for action – using transforms
XAML for the storyboard
Time for action – using easing functions
Understanding dependency properties
Understanding the attached property
An introduction to DataBinding
Time for action - DataBinding to one's own property
Time for action – DataBinding to properties of a different control
Time for action – DataBinding to DataSource as a collection
Time for action – DataBinding the background with SelectedValue
An introduction to vector graphics
Time for action – zooming in to a WPF control
Time for action – adding a shape
Importing graphics
Time for action – importing graphics
The Line, Pen, and Pencil tools
Time for action – creating a shape using Pen
Time for action – modifying a Path
DPI awareness
User control or custom control – which to use and when
Understanding and creating a user control
Time for action – creating a user control that selects the background color
Time for action – adding event handlers
Time for action – adding a user control in a window
Understanding and creating custom controls
Time for action – creating a custom control
Creating Windows Store apps with XAML and C#
Time for action – creating a Windows 8 Store app
Submitting your app to Windows Store
Time for action – submitting the app to Windows Store


Abhishek Shukla

Abhishek Shukla is a tech lead at Cognizant, Milwaukee, US, and completed his MS in software engineering. Over the years, he has worked with multiple technologies, mostly on the Microsoft platform, and has designed an application for Windows, web, and mobile devices. The biggest project of his career until now has been a banking product named Finacle Advizor (, and he wrote the first lines of code for the product. Thereafter, he has been part of multiple projects based on WPF, Silverlight, ASP.NET, HTML5, and JavaScript. Abhishek enjoys designing and developing applications with cutting-edge technologies and delivering products and applications that have seamless integration with people and processes for optimal results.

He blogs at

The organizations he's worked for include Infosys, Bengaluru, India; Sapient, Noida, India; and Cognizant, Milwaukee, US.