Moves a group to a new position in the Groups collection, optionally adjusting its Sections and Fields.

Namespace:  C1.C1Report
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public void Move(
	int newIndex,
	bool adjustSections
)
Visual Basic
Public Sub Move ( _
	newIndex As Integer, _
	adjustSections As Boolean _
)

Parameters

newIndex
Type: System..::..Int32
Contains the new position for the group (index into the Groups collection).
adjustSections
Type: System..::..Boolean
Determines whether only the group should be moved or whether its header and footer sections, along with all the fields in those sections, should also be moved.

Remarks

This method is useful in designer applications, when you want to allow users to change the grouping order.

See Also