ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / Detail Class / RepeatToFill Property

In This Topic
    RepeatToFill Property (Detail)
    In This Topic

    Gets or sets a value that determines whether the section's formatting should print to fill the page when there is not enough data to fill it.

    The RepeatToFill property allows you to fill each page with the same number of formatted rows, regardless of whether there is enough data to fill them. This is especially useful for reports such as invoices in which you want consistent formatting like lines or green bars or back colors to fill each page down to the Footer section at the bottom.

    Syntax
    'Declaration
     
    Public Property RepeatToFill As Boolean
    public bool RepeatToFill {get; set;}

    Property Value

    A Boolean value.  True if the section will print formatting to fill the page if its contents permit; otherwise, False.
    Remarks

    Note: The RepeatToFill property cannot be used if the PageBreak or SubReport control is used in the Detail section, or if the NewPage or NewColumn property is set to any value other than None.

    When you use this property when two groups are present, the second GroupFooter section is always on the next page. It processes correctly only with a single grouping. The ReportFooter section also prints on the next page when you set this property to True.

    See Also