Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XRLabel.CanGrow Property

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

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

[Browsable(true)]
public override bool CanGrow { get; set; }

#Property Value

Type Description
Boolean

true if the label’s height can grow in order to display all its text; otherwise, false.

#Remarks

When the CanGrow property is set to true, the label’s height will be automatically increased (if required), so that all the text it contains is displayed.

When using this feature, consider the following.

Report controls are converted to bricks in the printed document layout, and we cannot change the brick’s size after document creation. If you have an editable control, it is not possible to automatically change the control’s size according to new text in the printed document layout. The editable area cannot exceed the control’s original dimensions.

See Also