CanUserResizeColumns="False" does not work

Sep 24, 2008 at 6:37 PM
Hey all -

Setting CanUserResizeColumns="False" on the grid does not do anything. I can still resize all columns. is there somethign else I should be doing?

Thanks!
Coordinator
Sep 24, 2008 at 10:05 PM
Hi, this is a bug in the CTP and will be fixed in v1.  In our testing we found that we were only able to repro this issue when the property is initally set to false before any columns exist, so a workaround is to set CanUserResizeColumns to false programmatically at runtime after your columns are generated.

Thanks!
Samantha
Oct 21, 2008 at 3:57 PM
Suggested workaround does not work either.
And I was hoping I could use this property as a workaround for another bug:
When you resize columns and then scroll, some rows' column sizes remain unchanged. I haven't checked if it has been reported.
Jul 17, 2009 at 1:15 AM

Workaround works if you set CanUserResizeColumns = true and then immediately after set CanUserResizeColumns = false, after you have populated the DataGrid