Specifies whether the Section height should be automatically increased to fit its contents.

Namespace:  C1.C1Report
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
[DefaultValueAttribute(true)]
public bool CanGrow { get; set; }
Visual Basic
<DefaultValueAttribute(True)> _
Public Property CanGrow As Boolean
	Get
	Set

Remarks

You can use the CanGrow and CanShrink properties to control the appearance of report sections and fields.

For example, if you set both properties to true, a section or field automatically adjusts vertically to print or preview all the data it contains.

Sections grow and shrink vertically across their entire width.

When a section grows or shrinks, its Height property does not change. To retrieve the actual rendering height, use the RenderHeight property.

You can make fields grow or shrink to match the size of the section by setting their Anchor property.

The default value for this property is True.

See Also