Hello I am looking for an event I can handle for row deletion.
+3
A:
Instead of using an event on the DataGrid you should use a collection as its ItemsSource which supports change notification. Unfortunately the de-facto standard "ObservableCollection" does not support an event that fires before an item is removed, but it's quite easy to derive your own collection class from ObservableCollection which overrides RemoveItem and raises an appropriate event that can be cancelled.
Josh Einstein
2009-11-15 00:38:48
Sounds fair enough, any further suggestions will be welcommed.
Shimmy
2009-11-15 00:51:26