[]
        
(Showing Draft Content)

FarPoint.Win.Spread.SheetView.MoveColumn

MoveColumn Method

MoveColumn(int, int, bool)

Moves the specified column from its current index to the specified index, and shifts each column in between and the destination column one column in the direction of the specified column.

Declaration
public virtual void MoveColumn(int fromIndex, int toIndex, bool moveContent)
Public Overridable Sub MoveColumn(fromIndex As Integer, toIndex As Integer, moveContent As Boolean)
Parameters
Type Name Description
int fromIndex

Current index of the column to move

int toIndex

New index of the column after the move

bool moveContent

Whether to move the content

MoveColumn(int, int, int, bool)

Moves the specified column from its current index to the specified index, and shifts each column in between and the destination column one column in the direction of the specified column.

Declaration
public virtual void MoveColumn(int fromIndex, int toIndex, int columnCount, bool moveContent)
Public Overridable Sub MoveColumn(fromIndex As Integer, toIndex As Integer, columnCount As Integer, moveContent As Boolean)
Parameters
Type Name Description
int fromIndex

Current index of the column to move

int toIndex

New index of the column after the move

int columnCount

Column count

bool moveContent

Whether to move the content