GrapeCity.Xaml.SpreadSheet.Data
Group Method
Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace > RangeGroup Class : Group Method
The group starting index.
The number of rows or columns to group.
Groups a range of rows or columns into an outline (range group) from a specified start index using a specified amount.
Syntax
'Declaration
 
Public Sub Group( _
   ByVal index As Integer, _
   ByVal count As Integer _
) 
'Usage
 
Dim instance As RangeGroup
Dim index As Integer
Dim count As Integer
 
instance.Group(index, count)
public void Group( 
   int index,
   int count
)

Parameters

index
The group starting index.
count
The number of rows or columns to group.
Example
This example uses the Group method.
gcSpreadSheet1.Sheets[0].RowRangeGroup.Group(3, 2);
gcSpreadSheet1.Sheets[0].RowRangeGroup.Direction = GrapeCity.Xaml.SpreadSheet.Data.RangeGroupDirection.Backward;
GcSpreadSheet1.Sheets(0).RowRangeGroup.Group(3, 2)
GcSpreadSheet1.Sheets(0).RowRangeGroup.Direction = GrapeCity.Xaml.SpreadSheet.Data.RangeGroupDirection.Backward
See Also

Reference

RangeGroup Class
RangeGroup Members