Gets or sets a value that specifies whether the group will print as a single block in the same column.
Syntax
Visual Basic (Declaration) | |
---|
Public Property ColumnGroupKeepTogether As System.Boolean |
C# | |
---|
public System.bool ColumnGroupKeepTogether {get; set;} |
Property Value
Boolean.
Remarks
Example
C# | Copy Code |
---|
private void groupHeader1_Format(object sender, System.EventArgs eArgs)
{
this.groupHeader1.ColumnLayout = true;
this.groupHeader1.GroupKeepTogether = GroupKeepTogether.All;
this.groupHeader1.ColumnGroupKeepTogether = 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.GroupKeepTogether = GroupKeepTogether.All
Me.GroupHeader1.ColumnGroupKeepTogether = True
End Sub |
Requirements
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
See Also