Back to Devexpress

XRCrossTabCell.RowAutoHeightMode Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-crosstab-dot-xrcrosstabcell-8f221742.md

latest2.4 KB
Original Source

XRCrossTabCell.RowAutoHeightMode Property

Gets or sets how the cell’s height changes to fit its content.

Namespace : DevExpress.XtraReports.UI.CrossTab

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[DefaultValue(AutoSizeMode.None)]
[SRCategory(ReportStringId.CatBehavior)]
public AutoSizeMode RowAutoHeightMode { get; set; }
vb
<DefaultValue(AutoSizeMode.None)>
<SRCategory(ReportStringId.CatBehavior)>
Public Property RowAutoHeightMode As AutoSizeMode

Property Value

TypeDefaultDescription
AutoSizeModeNone

A value that specifies how the cell’s height changes to fit its content.

|

Available values:

NameDescription
None

The control’s size remains unchanged.

| | GrowOnly |

The control’s size can be automatically increased to fit its content.

| | ShrinkOnly |

The control’s size can be automatically decreased to fit its content.

| | ShrinkAndGrow |

The control’s size can be automatically increased or decreased to fit its content.

|

Remarks

Use this property to change the row height to fit the content of all its cells. If you change this property for one cell, this value applies to all the cells in the row.

You can specify this property’s value in the Properties window.

  • None

  • GrowOnly

  • ShrinkOnly

  • ShrinkAndGrow

Limitations

  • This property is not available if a cell spans two or more rows.
  • Column widths are changed per the cells’ ColumnAutoWidthMode property values before row heights.

See Also

XRCrossTabCell Class

XRCrossTabCell Members

DevExpress.XtraReports.UI.CrossTab Namespace