Home Forums WinForms controls Xceed Grid for WinForms AutoResize Column Widths

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

    Hi, is there a way to auto resize the column widths?
    The have the width based on the length of text?

    Imported from legacy forums. Posted by Druid (had 2042 views)

    User (Old forums)
    Member
    Post count: 23064

    grid.Columns[“myColumn”].Width = grid.Columns[“myColumn”].GetFittedWidth();

    Imported from legacy forums. Posted by Tommy (had 2991 views)

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