Home Forums WinForms controls Xceed Grid for WinForms Report Printing Issues: Reply To: Report Printing Issues:

Xceed Support
Member
Post count: 5658

There is not really a direct way to do that. If you want, for example, a wrap of the text in the TextRow, you will need to add the \n yourself. It will be the same in the Report.

<code>
string myString = “I’m a long string \nLet’s say him too long”;

TextRow tRow = new TextRow( myString );

gridControl1.FixedHeaderRows.Add( tRow );

tRow.Height = 32;
tRow.ReportStyle.RowHeight = 32;
</code>

Imported from legacy forums. Posted by CharlesB (had 3462 views)