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

Glossary Item Box

Initializes a new instance of the GroupHeader class.

Syntax

Visual Basic (Declaration) 
Public Function New()
C# 
public GroupHeader()

Example

C#Copy Code
private void groupHeader1_Format(object sender, System.EventArgs eArgs)
{
    this.groupHeader1.ColumnLayout = true;
    this.groupHeader1.DataField = "Country";
    this.groupHeader1.GroupKeepTogether = GroupKeepTogether.None;
    this.groupHeader1.KeepTogether = true;
    this.groupHeader1.NewColumn = NewColumn.None;
    this.groupHeader1.NewPage = NewPage.None;
    this.groupHeader1.RepeatStyle =  RepeatStyle.None;
    this.groupHeader1.UnderlayNext = true;
}
Visual BasicCopy Code
Private Sub GroupHeader1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles GroupHeader1.Format
    Me.GroupHeader1.ColumnLayout = True
    Me.GroupHeader1.DataField = "Country"
    Me.GroupHeader1.GroupKeepTogether = GroupKeepTogether.None
    Me.GroupHeader1.KeepTogether = True
    Me.GroupHeader1.NewColumn = NewColumn.None
    Me.GroupHeader1.NewPage = NewPage.None
    Me.GroupHeader1.RepeatStyle = RepeatStyle.None
    Me.GroupHeader1.UnderlayNext = True
End Sub

See Also