[]
        
(Showing Draft Content)

C1.Win.C1FlexGrid.C1FlexGridBase.MoveSelection

MoveSelection Method

MoveSelection(MoveCursorEnum, bool)

Moves or extends the current selection.

Declaration
protected virtual void MoveSelection(MoveCursorEnum move, bool extend)
Parameters
Type Name Description
MoveCursorEnum move

C1.Win.C1FlexGrid.MoveCursorEnum value that specifies the type of cursor movement.

bool extend

Whether to extend the current selection.

Remarks

This method is for internal use. It allows inherited classes to customize the grid appearance.

MoveSelection(MoveCursorEnum, bool, int, int)

Moves or extends the selection from a given cell.

Declaration
protected virtual void MoveSelection(MoveCursorEnum move, bool extend, int row, int col)
Parameters
Type Name Description
MoveCursorEnum move

C1.Win.C1FlexGrid.MoveCursorEnum value that specifies the type of cursor movement.

bool extend

Whether to extend the current selection.

int row

Row index for the initial selection.

int col

Column index for the initial selection.

Remarks

This method is for internal use. It allows inherited classes to customize the grid appearance.