Skip to main content
.NET Framework 4.5.2+

Row.AutoFit() Method

Adjusts the row height to accommodate cell content.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v22.2.Core.dll


void AutoFit()


To automatically fit the height of several rows to the content, use the RowCollection.AutoFit method.

To set the row height value in the required units of measurement, use the Row.Height property (see the How to: Specify Row Height or Column Width example).

See Also