Posted 1 April 2026, 2:29 pm EST
Hi,
I’m using the WPF C1FlexGrid on v4.6.20232.790. In this particular grid, we want to allow resizing on the first row and first column but want to disallow resizing on the other rows and columns. Since Row.AllowResizing and Column.AllowResizing default to true, we do this by simply looping through all rows and columns (skipping the first of each) and set AllowResizing to false.
However, the method where we do this came up during performance profiling of some large grids (approx. 5k rows and 5k columns). It seems like setting AllowResizing triggers some property change notifications or other collection change notifications that make this inefficient when performed on a large number of rows or columns.
I could set AllowResizing to false on the FlexGrid itself, but that would disallow resizing on the first row and column. I also didn’t see a way to make AllowResizing false by default (so that I could just set it true on the first row and column). I did consider using an event handler on FlexGrid.AutoGeneratingColumns to set AllowResizing, but there’s no equivalent handler for the rows.
Thanks for any suggestions or workarounds you can provide.
