Sorting, filtering, and grouping data using the DomainDataSource

Using the DomainDataSource, we can shape our data in XAML without writing any code in the code-behind. We can allow the users of our application to shape the data they see on screen by sorting, filtering, or grouping it. This increases the user friendliness of the software by making it easy to find what a user of the application is looking for. In this recipe, you'll learn how to shape your data by sorting, filtering, and grouping it with the DomainDataSource.

Getting ready

This recipe uses the AdventureWorks Lite database—a free database you can download from http://www.codeplex.com/MSFTDBProdSamples. To follow this recipe, you need to have this database installed on an SQL Server ...

Get Silverlight 4 Data and Services Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.