Skip to main content

Row.AutoFit() Method

Adjusts the row height to accommodate cell content.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

void AutoFit()

Remarks

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