Element-to-Element Binding

In the previous section, you saw how to use the StaticResource markup extension, which gives XAML additional capabilities (in this case, the ability to easily refer to a resource that's defined elsewhere in your markup). You'll see the StaticResource at work throughout the examples in this book. Another markup extension that gets heavy use is the Binding expression, which sets up a relationship that funnels information from a source object to a target control.

In Chapter 20, you'll use binding expressions to create data-bound pages that allow the user to review and edit the information in a linked data object. But in this chapter, you'll take a quick look at a more basic skill—the ability to connect two elements together ...

Get Pro Silverlight 5 in VB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.