XRLabel.CanGrow Property
Gets or sets whether the label can increase its height to display all text.
Namespace: DevExpress.XtraReports.UI
Assembly: DevExpress.XtraReports.v25.2.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
Property Value
| Type | Description |
|---|---|
| Boolean |
|
Remarks
Use the CanGrow property to specify whether a label expands vertically when its content does not fit:
- The label increases its height when the content exceeds its bounds.
- Controls located below the label move down to prevent overlap.
- A control that overlaps the label by even one pixel does not move.
- If the label’s AnchorVertical property is set to
VerticalAnchorStyles.BottomorVerticalAnchorStyles.Both, theCanGrowand CanShrink properties have no effect on the final height. - If the label calculates a summary, the layout engine does not recalculate its size. The
CanGrowandCanShrinkproperties have no effect. Overlap with underlying controls may occur. - The
CanGrowproperty has no effect if the XRLabel.Angle property value is not 0.
The reporting engine converts controls to bricks during document creation. The engine cannot change brick size afterward. Editable content cannot expand the control in the printed document. The editable area cannot exceed the control’s original size.
See Also