ActiveReports 8
RepeatStyle Property
See Also  Example
GrapeCity.ActiveReports.v8 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

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