ActiveReports 8
CanGrow Property
See Also  Example
GrapeCity.ActiveReports.v8 Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace > Section Class : CanGrow Property

Glossary Item Box

Indicates whether the section height should grow when its controls extend beyond its original height.

Syntax

Visual Basic (Declaration) 
Public Property CanGrow As System.Boolean
C# 
public System.bool CanGrow {get; set;}

Property Value

Boolean. True if the section should grow to fit its controls, False if the controls should be clipped to the section's height.  Default is True.

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)
{
    this.detail.CanGrow = true;
    this.detail.CanShrink = false;
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
    Me.Detail1.CanGrow = True
    Me.Detail1.CanShrink = False
End Sub

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Section Class
Section Members
ActiveReports6~GrapeCity.ActiveReports.Section~CanShrink