Home › Forums › WPF controls › Xceed DataGrid for WPF › Automatic column resizing
There is a thread over in one of the other forums about automatic column resizing.
In it, the recalculation is based off an entire grid width of DisplayRectangle.Width, which doesn’t seem to be available in the WPF version. Is using ActualWidth a suitable replacement?
Imported from legacy forums. Posted by casper (had 532 views)
The result of a column’s GettFittedWidth method can be assigned to its Width property. This thread also contains information about setting and calculating column widths.
Imported from legacy forums. Posted by Jenny [Xceed] (had 294 views)
Imported from legacy forums. Posted by casper (had 1514 views)