Xceed Grid for WinForms v4.3 Documentation
InsertGroupCore Method


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GroupByRow Class : InsertGroupCore Method
Specifies the DetailGrid in which to insert the group.
The index at which to insert the new group. If -1, the groups is added to the end of the group templates.
The FieldName of the column to assign to the new group's GroupBy property.
Inserts a new Group object into the list of GroupTemplates.
Syntax
'Declaration
 
Protected Overridable Sub InsertGroupCore( _
   ByVal detailGrid As DetailGrid, _
   ByVal index As Integer, _
   ByVal fieldname As String _
) 
'Usage
 
Dim instance As GroupByRow
Dim detailGrid As DetailGrid
Dim index As Integer
Dim fieldname As String
 
instance.InsertGroupCore(detailGrid, index, fieldname)
protected virtual void InsertGroupCore( 
   DetailGrid detailGrid,
   int index,
   string fieldname
)

Parameters

detailGrid
Specifies the DetailGrid in which to insert the group.
index
The index at which to insert the new group. If -1, the groups is added to the end of the group templates.
fieldname
The FieldName of the column to assign to the new group's GroupBy property.
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

Reference

GroupByRow Class
GroupByRow Members