Home › Forums › WinForms controls › Xceed Grid for WinForms › Multiline Column Header on Printing
When I print to fit on page the column headers get cut off. Is there any way to make the column header word wrap to multiple lines?
Imported from legacy forums. Posted by David (had 2073 views)
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.
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 1857 views)