Spread Silverlight Documentation
ColumnGroupUndoAction Constructor
Example 


The worksheet.
The column group extent information.
Creates a new instance of the ColumnGroupUndoAction class.
Syntax
'Declaration
 
Public Function New( _
   ByVal sheet As Worksheet, _
   ByVal columnGroupExtent As ColumnGroupExtent _
)
'Usage
 
Dim sheet As Worksheet
Dim columnGroupExtent As ColumnGroupExtent
 
Dim instance As New ColumnGroupUndoAction(sheet, columnGroupExtent)
public ColumnGroupUndoAction( 
   Worksheet sheet,
   ColumnGroupExtent columnGroupExtent
)

Parameters

sheet
The worksheet.
columnGroupExtent
The column group extent information.
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, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

ColumnGroupUndoAction Class
ColumnGroupUndoAction Members

 

 


Copyright © GrapeCity, inc. All rights reserved.