Spread Silverlight Documentation
ColumnGroupExtent Constructor
Example 


GrapeCity.Windows.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 System.Integer, _
   ByVal count As System.Integer _
)
'Usage
 
Dim index As System.Integer
Dim count As System.Integer
 
Dim instance As New ColumnGroupExtent(index, count)
public ColumnGroupExtent( 
   System.int index,
   System.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.Windows.SpreadSheet.UI.UndoRedo.ColumnGroupExtent(3,5);
var action = new GrapeCity.Windows.SpreadSheet.UI.UndoRedo.ColumnGroupUndoAction(GcSpreadSheet1.Sheets[0],group);
GcSpreadSheet1.DoCommand(action);
GcSpreadSheet1.CanUserUndo = True
Dim group As New GrapeCity.Windows.SpreadSheet.UI.UndoRedo.ColumnGroupExtent(3,5)
Dim action As New GrapeCity.Windows.SpreadSheet.UI.UndoRedo.ColumnGroupUndoAction(GcSpreadSheet1.Sheets(0),group)
GcSpreadSheet1.DoCommand(action)
See Also

Reference

ColumnGroupExtent Class
ColumnGroupExtent Members