Skip to main content
All docs
V24.1

XRCrossTabCell.RowAutoHeightMode Property

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

Namespace: DevExpress.XtraReports.UI.CrossTab

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[DefaultValue(AutoSizeMode.None)]
[SRCategory(ReportStringId.CatBehavior)]
public AutoSizeMode RowAutoHeightMode { get; set; }

Property Value

Type Default Description
AutoSizeMode None

A value that specifies how the cell’s height changes 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

    All cells have the height specified in the Cross Tab layout.

  • GrowOnly

    The row height can increase to fit the content of all cells.

  • ShrinkOnly

    The row height can decrease to fit the content of all cells.

  • ShrinkAndGrow

    The row height can increase or decrease to fit the content of all cells.

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