Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4970
How to implement IEditableObject for XamGrid?
posted

In my View Model, I define a ObservableCollection and bind it to to ItemSource of XamGrid.

The objects in the collection has assoication class for lookup.( I use EF and Ria Service, objects in collection is Entity)

Then I try to implement IEditableObject on VM, but I can't get those assoication back for undo.

I also try to replace ObservableCollection to PagedCollectionView, but this one give me error when I try to insert row in xamgrid with following code:

xamgrid.Rows.Add(row);


So what's the simple way to allow XamGrid with IEditableObject implementation so that user can redo/undo for editing?