ActiveReports 14 .NET Edition
GrapeCity.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / GroupHeader Class / GroupHeader Constructor
Example

In This Topic
    GroupHeader Constructor
    In This Topic
    Initializes a new instance of the GroupHeader class.
    Syntax
    'Declaration
     
    Public Function New()
    public GroupHeader()
    Example
    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;
    }
    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