You never need to remove a row from a WPF grid. What you need to do:
1) define a type with the ObservableCollection attribute, which contains a list of objects representing the values ββin your grid.
2) Bind this property to grid control.
3) now, if you add / remove objects from the linked collection, the corresponding lines respectively add / remove from the ui control.
source share