I am using a PropertyGrid, populated with a number of PropertyGridPropertyItems and PropertyGridCategoryItems. I have a DataFilterGroup attached to the DataFilter property of the grid, and there are a number of simple filters within it.
When I change the IsEnabled flag for any of the leaf-level filters within the PropertyGrid, and then call PropertyGrid.Refresh(), the filtering is not reapplied to the view. If, instead of calling Refresh(), I simply save the members in the Items property into a temporary list, clear the Items property, then put back the members of the Items property, the filter is applied properly.
It was my understanding that Refresh() should reapply the DataFilter. Is this not the case?
When I change the IsEnabled flag for any of the leaf-level filters within the PropertyGrid, and then call PropertyGrid.Refresh(), the filtering is not reapplied to the view. If, instead of calling Refresh(), I simply save the members in the Items property into a temporary list, clear the Items property, then put back the members of the Items property, the filter is applied properly.
It was my understanding that Refresh() should reapply the DataFilter. Is this not the case?