See Also

GroupHeader Class  | GroupHeader Members

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

ColumnGroupKeepTogether Property

Gets or sets a value that specifies whether the group will print as a single block in the same column.

[Visual Basic]
Public Property ColumnGroupKeepTogether As Boolean
[C#]
public bool ColumnGroupKeepTogether {get; set;}

Return Type

Boolean.

Remarks

The Boolean ColumnGroupKeepTogether property will only be implemented when the GroupHeader's GroupKeepTogether property is set to All. 

The purpose of this property is to prevent a group from splitting across columns.  If the group will not fit in the current column, ActiveReports will attempt to render the full group in the next column.  If the group is too large to fit in a single column, this property will be ignored.

Example

[C#] 

private void GroupHeader1_Format(object sender, System.EventArgs eArgs) 

    this.GroupHeader1.ColumnLayout = true; 
    this.GroupHeader1.GroupKeepTogether = GroupKeepTogether.All; 
    this.GroupHeader1.ColumnGroupKeepTogether = true; 
}

[Visual Basic] 

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

See Also

GroupHeader Class  | GroupHeader Members

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.