private void UpdateFilteredData() { Dispatcher.Invoke(() => { FilteredData.Clear(); FilteredData.AddRange(Data.Where(proxy => !IsProxyFiltered(proxy))); using (PreventChangeSortingDirection preventor = new PreventChangeSortingDirection(DataGridControl)) { if (preventor.HasSorting) { SortFilteredData(preventor.SortMemberPath, preventor.SortDirection); } } UpdateStatusString(); }); }