Home Forums WinForms controls Xceed Grid for WinForms Multiline Column Header on Printing Reply To: Multiline Column Header on Printing

User (Old forums)
Post count: 23064

You can set the ColumnManagerRow to display more than one line of text.  You need to set the Height of the row with the help of the GetFittedHeight() method AFTER setting the title of the columns.

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

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