ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / GroupHeader Class / RepeatStyle Property
Example

In This Topic
    RepeatStyle Property
    In This Topic
    Gets or sets a value that specifies whether the section should print with every column or page on which the Detail section or associated footer is printed.
    Syntax
    'Declaration
     
    Public Property RepeatStyle As RepeatStyle
    public RepeatStyle RepeatStyle {get; set;}

    Property Value

    A RepeatStyle enumeration.  The default value is RepeatStyle.None. Possible values are:

    • RepeatStyle.All
    • RepeatStyle.None
    • RepeatStyle.OnColumn
    • RepeatStyle.OnPage
    • RepeatStyle.OnPageIncludeNoDetail (prevents orphaned footers)
    Example
    private void groupHeader1_Format(object sender, System.EventArgs eArgs)
    {
        this.groupHeader1.RepeatStyle =  RepeatStyle.OnPageIncludeNoDetail;
    }
    Private Sub GroupHeader1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles GroupHeader1.Format
       Me.GroupHeader1.RepeatStyle = RepeatStyle.OnPageIncludeNoDetail
    End Sub
    See Also