Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / DefaultRangeGroupModel Class / AddGroup Method
Start index
Number of the rows or columns to add
Whether the outline (range group) is of rows (or else columns)


In This Topic
    AddGroup Method (DefaultRangeGroupModel)
    In This Topic
    Groups all the rows or columns from the specified start index by the specified amount to an outline (range group).
    Syntax
    'Declaration
     
    
    Public Sub AddGroup( _
       ByVal startIndex As Integer, _
       ByVal count As Integer, _
       ByVal isRowGroup As Boolean _
    ) 
    'Usage
     
    
    Dim instance As DefaultRangeGroupModel
    Dim startIndex As Integer
    Dim count As Integer
    Dim isRowGroup As Boolean
     
    instance.AddGroup(startIndex, count, isRowGroup)
    public void AddGroup( 
       int startIndex,
       int count,
       bool isRowGroup
    )

    Parameters

    startIndex
    Start index
    count
    Number of the rows or columns to add
    isRowGroup
    Whether the outline (range group) is of rows (or else columns)
    See Also