ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / Section Class / CanGrow Property
Example

In This Topic
    CanGrow Property (Section)
    In This Topic

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

    Syntax
    'Declaration
     
    Public Property CanGrow As Boolean
    public 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
    private void detail_Format(object sender, System.EventArgs eArgs)
    {
        this.detail.CanGrow = true;
        this.detail.CanShrink = false;
    }
    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
    See Also