Home Forums WPF controls Xceed DataGrid for WPF Automatic column resizing

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #27188 |

    There is a thread over in one of the other forums about automatic column resizing.

    http://xceed.com/CS/forums/thread/3205.aspx#12045

    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)

    Xceed Support
    Member
    Post count: 5658

    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)

    User (Old forums)
    Member
    Post count: 23064

    Thanks!

    Imported from legacy forums. Posted by casper (had 1514 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.