Spread Windows Forms 6.0 Product Documentation
ColumnMoveUndoAction Constructor(SheetView,Int32,Int32,Int32,Boolean)
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.UndoRedo Namespace > ColumnMoveUndoAction Class > ColumnMoveUndoAction Constructor : ColumnMoveUndoAction Constructor(SheetView,Int32,Int32,Int32,Boolean)


sheetView
Sheet
column
Sheet source column index
movedToColumn
Sheet destination column index
movedColumnCount
Count of columns to move
moveContent
Whether to move content in models (or else reorder columns)

Glossary Item Box

Creates a new ColumnMoveUndoAction

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal sheetView As SheetView, _
   ByVal column As Integer, _
   ByVal movedToColumn As Integer, _
   ByVal movedColumnCount As Integer, _
   ByVal moveContent As Boolean _
)
Visual Basic (Usage)Copy Code
Dim sheetView As SheetView
Dim column As Integer
Dim movedToColumn As Integer
Dim movedColumnCount As Integer
Dim moveContent As Boolean
 
Dim instance As New ColumnMoveUndoAction(sheetView, column, movedToColumn, movedColumnCount, moveContent)
C# 
public ColumnMoveUndoAction( 
   SheetView sheetView,
   int column,
   int movedToColumn,
   int movedColumnCount,
   bool moveContent
)

Parameters

sheetView
Sheet
column
Sheet source column index
movedToColumn
Sheet destination column index
movedColumnCount
Count of columns to move
moveContent
Whether to move content in models (or else reorder columns)

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.