[]
        
(Showing Draft Content)

FarPoint.Web.Spread.Model.DefaultSheetAxisModel.Move

Move Method

Move(int, int, int)

Moves one or more rows or columns and pastes them at the specified location.

Declaration
public virtual void Move(int fromIndex, int toIndex, int count)
Public Overridable Sub Move(fromIndex As Integer, toIndex As Integer, count As Integer)
Parameters
Type Name Description
int fromIndex

Row or column index at which to start moving rows or columns

int toIndex

Row or column index at which to paste rows or columns

int count

Number of rows or columns to move

Implements
Exceptions
Type Condition
IndexOutOfRangeException

Specified start index is not valid; must be between 0 and the total count

IndexOutOfRangeException

Specified destination index is not valid; must be between 0 and the total count

ArgumentException

Specified count is not valid; must be between 1 and the total count