Skip to main content
A newer version of this page is available. .

XRTableCell.CanGrow Property

Gets or sets a value indicating whether the table cell’s height can grow in order to display the contents in their entirety.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Core

Declaration

public override bool CanGrow { get; set; }

Property Value

Type Description
Boolean

true if the table cell’s height can grow in order to display all its contents; otherwise, false.

Remarks

When the CanGrow property is set to true, the table cell’s height will be automatically increased (if required) so that all its contents are displayed. In this case, the entire table row’s height will grow, and so it moves down other table rows below the current row.

Note

If the XRControl.AnchorVertical property of the parent XRTable object is set to VerticalAnchorStyles.Bottom or VerticalAnchorStyles.Both, the CanGrow and XRTableCell.CanShrink property values are ignored, and don’t participate in calculating a final height value of this control.

See Also