February 2010
Beginner
400 pages
11h 13m
English
Few applications do not have to work with data. Silverlight offers a rich binding model that makes it very easy to work with data. Let's create a simple example to bind data to a text box:
Add a new folder called DataBinding to the example project.
Right-click, and select Add
New Item
Silverlight UserControl. Call it DataBindingTest.
In the XAML, you need to add a namespace reference to the assemblies you're going to use. Add the following line in the UserControl tag of DataBindingTest.xaml:
xmlns:Data="clr-namespace:System.Windows.Controls; ...