Home Forums WinForms controls Xceed Grid for WinForms How to increase the height of headercolumn in exceedgrid

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

    Can anyone tell me how to increase the grid header height in exceedgrid?

    Imported from legacy forums. Posted by anandraaz (had 1826 views)

    User (Old forums)
    Member
    Post count: 23064

    You can do it by getting the ColumnManagerRow instance, and set the Height property to the value you want :

    columnManagerRow1.Height = 50;

    You can also use the GetFittedHeight method to do this, so the height of the row is adjusted to the strings it contains. Make sure however that the titles of the ColumnManagerCell’s have been set before you call this method.

    e.g.:

    gridControl1.Columns[ 0 ].Title = “First line” + “\n” + “Second line”;
    columnManagerRow1.Height = columnManagerRow1.GetFittedHeight( AutoHeightMode.AllContent );

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

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