O'Reilly logo

Pro Silverlight 5 in VB by Matthew MacDonald

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The DataGrid

DataGrid is, at its name suggests, a data-display control that takes the information from a collection of objects and renders it in a grid of rows and cells. Each row corresponds to a separate object, and each column corresponds to a property in that object.

The DataGrid adds much-needed versatility for dealing with data in Silverlight. Its advantages include the following:

  • Flexibility: You use a column-based model to define exactly the columns you want to use and supply the binding expressions that extract the data from the bound objects. The DataGrid also supports a few important tools you learned about in Chapter 20, such as templates and value converters.
  • Customizability: You can radically alter the appearance of the DataGrid ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required