C H A P T E R 11
Advanced Data Binding
So far in this book, you've learned how to bind your user interface controls to objects so that the user can view and edit data exposed by these objects. Instead of data being pushed into these controls, the extensive data binding support provided by XAML enables controls to pull the data into themselves. In other words, the controls are essentially controlling the process of consuming the data. You've learned that
- The object assigned to the
DataContext
property of a control is inherited down the object hierarchy. - There are three different binding modes:
OneTime
,OneWay
, andTwoWay
(discussed in Chapter 2). You need to set the mode toTwoWay
to update the bound object property via a control in the user ...
Get Pro Business Applications with Silverlight 5 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.