I have a list that bound to a grid. My list items have properties like RunTimeState. The user can select each item in the grid and delete it. When an item is deleted its RunTimeState is set to Deleted. How can I get my grid to not show these deleted items?
Share
Whenever your item is deleted, you should raise
INotifyPropertyChanged.PropertyChangedevent with property name set to grid data source. And that property should filter the items or the item should be removed from your collection before.A code can look like this: