The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

SpreadsheetCellOptions.AutoFitMergedCellRowHeight Property

Gets or sets a value indicating whether the row height can be automatically adjusted for cells merged across a row and containing wrapped text.

Namespace: DevExpress.XtraSpreadsheet

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

Declaration

[DefaultValue(false)]
public bool AutoFitMergedCellRowHeight { get; set; }
<DefaultValue(False)>
Public Property AutoFitMergedCellRowHeight As Boolean
[DefaultValue(false)]
public bool AutoFitMergedCellRowHeight { get; set; }
<DefaultValue(False)>
Public Property AutoFitMergedCellRowHeight As Boolean
[DefaultValue(false)]
public bool AutoFitMergedCellRowHeight { get; set; }
<DefaultValue(False)>
Public Property AutoFitMergedCellRowHeight As Boolean

Property Value

Type Default Description
Boolean

false

true, to automatically adjust the height of a row that has cells merged across; otherwise, false.

Property Value

Type Default Description
Boolean

false

true, to automatically adjust the height of a row that has cells merged across; otherwise, false.

Property Value

Type Default Description
Boolean

false

true, to automatically adjust the height of a row that has cells merged across; otherwise, false.

Remarks

By default, when you merge a cell containing wrapped text with the other cells in a row, the resulting merged cell's row height cannot be adjusted automatically to accommodate cell content. To avoid this behavior and enable the AutoFit functionality for rows that have cells merged across, set the AutoFitMergedCellRowHeight property to true.

See Also