ActiveReports Developer 7
RepeatStyle Property
See Also  Example
GrapeCity.ActiveReports.v7 Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace > GroupHeader Class : RepeatStyle Property

Glossary Item Box

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

Visual Basic (Declaration) 
Public Property RepeatStyle As RepeatStyle
C# 
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

C#Copy Code
private void groupHeader1_Format(object sender, System.EventArgs eArgs)
{
    this.groupHeader1.RepeatStyle =  RepeatStyle.OnPageIncludeNoDetail;
}
Visual BasicCopy Code
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