O'Reilly logo

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

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - DataBinding to one's own property

In this section, we will DataBind one property of the Rectangle shape to another one as follows:

  1. Create a new project in Blend and name it Chapter07. Drag and drop a Rectangle shape onto the art board. This is shown in the following screenshot:
    Time for action - DataBinding to one's own property
  2. Now, we will go ahead and DataBind the Height property of the rectangle to itself. The way to assign the source property in DataBinding is to assign the source of the property and the property path. To do that, move to the Properties panel, left-click on the small white rectangle next to the Height property, and then select Create Data Binding…. This is shown ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required