ActiveReports6 Assembly > DataDynamics.ActiveReports Namespace : GroupHeader Class |
The GroupHeader section prints once for every data group defined using the field specified in DataField property. A GroupHeader section requires a matching GroupFooter section.
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
System.Object
DataDynamics.ActiveReports.Section
DataDynamics.ActiveReports.GroupHeader
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