-
Book Overview & Buying
-
Table Of Contents
Microsoft Silverlight 4 Data and Services Cookbook
By :
If we want to build applications that deal with large amounts of data, then a control such as a data grid is vital. This control shows the data in a tabular format and allows for adding, editing, and deleting the data inline. It allows the sorting of data into columns by clicking on a column header. Finally, a data grid should support grouping, so that we can create levels in the data.
Silverlight included a data grid from version 2 onwards, even before WPF had one. It's very powerful, supports all the features outlined previously, and is thus a good solution to work with large amounts of data in the browser. It lives in the System.Windows.Controls namespace. However, it's not included in the default assemblies that are installed with the Silverlight core. When using it in our application, Visual Studio will embed several assemblies into the XAP file.
In order to maintain its performance, Silverlight's DataGrid control features UI virtualization. This feature means that Silverlight...
Change the font size
Change margin width
Change background colour