C H A P T E R  21

Data Controls

So far, you've learned how to use data binding to pull information out of data objects, format it, and make it available for editing. However, although data binding is a flexible and powerful system, getting the result you want can still take a lot of work. For example, a typical data form needs to bind a number of different properties to different controls, arrange them in a meaningful way, and use the appropriate converters, templates, and validation logic. Creating these ingredients is as time-consuming as any other type of UI design.

Silverlight offers several features that can help offload some of the work:

  • The Label and DescriptionViewer controls: They pull metadata out of your data objects and display ...

Get Pro Silverlight 5 in C# 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.