| GridControlIsCurrentCell Method (UInt32, UInt32) |
Determines if a current cell is selected or is the specified
cell.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public bool IsCurrentCell(
uint row,
uint col
)
Public Function IsCurrentCell (
row As UInteger,
col As UInteger
) As Boolean
public:
bool IsCurrentCell(
unsigned int row,
unsigned int col
)
Parameters
- row
- Type: SystemUInt32
Specifies the row index. If
Invalid, the row
index is not checked, only the column index in
col.
- col
- Type: SystemUInt32
Specifies the column index. If
Invalid, the column index is not
checked, only the row index in row
Return Value
Type:
Booleantrue if a current cell is selected and is the
specified cell. Otherwise,
false if no current cell is
selected or if it is not the specified cell.
Remarks
Equivalent to
IsCurrentCell(row,
col, false).
This method returns false if no current cell is selected
or if it is not the specified cell.
If both row and col are
set to Invalid this method returns
true if there is a current cell, no matter where.
See Also