ActiveReports3 Request technical support
RepeatStyle Property
See Also  Example


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
Visual Basic (Usage)Copy Code
Dim instance As GroupHeader
Dim value As RepeatStyle
 
instance.RepeatStyle = value
 
value = instance.RepeatStyle
C# 
public RepeatStyle RepeatStyle {get; set;}

Return 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