Spread WPF Documentation
ColumnGroupExtent Constructor
Example 


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)
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

ColumnGroupExtent Class
ColumnGroupExtent Members

 

 


Copyright © GrapeCity, inc. All rights reserved.