I wish to recalculate things everytime a DataGrid gets more rows or some are removed. I tried to use the Loaded event, but that was fired only once.
Loaded
I found
Have you tried an MVVM approach and binding to an Observable collection?
public ObservableCollection Items{ get { return _items; } set{ _items = value; RaisePropertyChanged("Items"); // Do additional processing here } }
So you can watch the add / remove of items without being tied to the UI?