In this tutorial, Michael Washington explains how to use the Silverlight DataGrid with Inline Editing, Paging, Sorting, Button Events and of course demonstrates using View Model / MVVM.
The Silverlight DataGrid is a powerful control that allows inline editing, paging, sorting, and drag and drop re-ordering of columns. It can be challenging to understand when using normal code behind techniques, but sometimes downright baffling when using View Model / MVVM style programming.
In the following examples, we will not directly reference the DataGrid in the View Model. The code we will create can be consumed by any collection control such as a ListBox.