10
shouts

Binding a Silverlight DataGrid to dynamic data Part 2 - editable data and INotifyPropertyChanged - Colin Eberhardt

published 327 days, 23 hours, 29 minutes ago posted by AlexAlex 329 days, 9 minutes ago
Thursday, April 23, 2009 8:57:04 PM GMT Wednesday, April 22, 2009 8:17:09 PM GMT

In my previous blog post I described a method for solving the commonly faced problem of binding a Silverlight DataGrid to dynamic data, the form of which is not know at compile time. This blog post extends on the method previously described, adding change notification, allowing the DataGrid to synchronise the UI with changes to the bound data and to allow the user to edit the DataGrid’s contents.

To briefly recap my previous post, the dynamic data is copied to a collection of Rows:

publicclass Row {priva...

category: Silverlight | clicked: 47 | | source: www.scottlogic.co.uk | show counter code
tags: DataGrid, Silverlight