GrapeCity.Xaml.SpreadSheet.UI
ColumnGroupExtent Constructor
Example 


GrapeCity.Xaml.SpreadSheet.UI.UndoRedo Namespace > ColumnGroupExtent Class : ColumnGroupExtent Constructor
The group starting index.
The number of columns to group.
Creates a new instance of the ColumnGroupExtent class.
Syntax
'Declaration
 
Public Function New( _
   ByVal index As Integer, _
   ByVal count As Integer _
)
'Usage
 
Dim index As Integer
Dim count As Integer
 
Dim instance As New ColumnGroupExtent(index, count)
public ColumnGroupExtent( 
   int index,
   int count
)

Parameters

index
The group starting index.
count
The number of columns to group.
Example
This example creates a group.
GcSpreadSheet1.CanUserUndo = true;
var group = new GrapeCity.Xaml.SpreadSheet.UI.UndoRedo.ColumnGroupExtent(3,5);
var action = new GrapeCity.Xaml.SpreadSheet.UI.UndoRedo.ColumnGroupUndoAction(GcSpreadSheet1.Sheets[0],group);
GcSpreadSheet1.DoCommand(action);
GcSpreadSheet1.CanUserUndo = True
Dim group As New GrapeCity.Xaml.SpreadSheet.UI.UndoRedo.ColumnGroupExtent(3,5)
Dim action As New GrapeCity.Xaml.SpreadSheet.UI.UndoRedo.ColumnGroupUndoAction(GcSpreadSheet1.Sheets(0),group)
GcSpreadSheet1.DoCommand(action)
See Also

Reference

ColumnGroupExtent Class
ColumnGroupExtent Members