Visual Basic (Declaration) | |
---|---|
Public Function New() |
C# | |
---|---|
public GroupHeader() |
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 Basic | Copy 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 |
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