I am working on XamGrid using MVVM architectural style while removing the filter using the below code, the filter get removed but the filter cell still contains the filter value which should be empty.
foreach (var columnBase in dataGrid.FilteringSettings.RowFiltersCollection)
{
var col = (RowsFilter)columnBase;
col.Column.FilterColumnSettings.FilterCellValue = string.Empty;
}
dataGrid.FilteringSettings.RowFiltersCollection.Clear();