| GridControlMoveCurrentCell Method (DirectionType, Int32) |
Selects a new current cell based on an offset from the existing
current cell.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public bool MoveCurrentCell(
DirectionType direction,
int nCell
)
Public Function MoveCurrentCell (
direction As DirectionType,
nCell As Integer
) As Boolean
public:
bool MoveCurrentCell(
DirectionType direction,
int nCell
)
Parameters
- direction
- Type: Stingray.GridDirectionType
One of:
- Up
- Move up one cell.
- Left
- Move left one cell.
- Down
- Move down one cell.
- Right
- Move right one cell.
- PgDown
- Move down one page.
- PgUp
- Move up one page.
- Top
- Move to the first row.
- Bottom
- Move to the last row.
- MostLeft
- Move to the first column.
- MostRight
- Move to the last column.
- TopLeft
- Move to the first row and column.
- BottomRight
- Move to the last row and column.
- nCell
- Type: SystemInt32
Number of rows or columns.
Return Value
Type:
Booleantrue if the operation is successful,
false otherwise.
Remarks See Also