Home Forums WinForms controls Xceed Grid for WinForms How to autosize the header column

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

    I have always “…” in the header and the header text is truncated, how I can remove it.
    I want the header column with always fit with size of the text header.

    Imported from legacy forums. Posted by rosario (had 1930 views)

    User (Old forums)
    Member
    Post count: 23064

    You can use the GetFittedWidth method to have the column width adjusted to the text in the column.

    e.g.:

    column1.Width = column1.GetFittedWidth();

    Imported from legacy forums. Posted by André (had 3028 views)

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