There is a remark content that needs to be displayed on the interface. because there may be many remarks, the cells in a single row are often incomplete, so you want to be able to display multiple rows for viewing.
The following code is required to display line breaks:
Ultrabod1.displaylayout. Bands [0]. Columns ["Remarks"]. cellmultiline = infragistics. Win. defaultableboolean. True;
Ultrabod1.displaylayout. Bands [0]. Columns ["Remarks"]. vertscrollbar = true;
Ultrabod1.displaylayout. Override. defaultrowheight = 45;
In this way, the height of each row is fixed, so some remarks may still not be able to directly display all the content on the interface. You need to scroll down to see the following content. However, this makes the interface look more beautiful and the specifications are unified.
You can place the cursor over the remarks field. If you do not click it, you can see all the content in the remarks in a floating window. In fact, if you do not need to copy or modify the remarks on the interface, but only view the content in the remarks, this small function is still very useful.
Reference: http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.Aspx? ArticleID = 1043