| GridControlIsCurrentCell Method (UInt32, UInt32, Boolean) |
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,
bool ignorePrint
)
Public Function IsCurrentCell (
row As UInteger,
col As UInteger,
ignorePrint As Boolean
) As Boolean
public:
bool IsCurrentCell(
unsigned int row,
unsigned int col,
bool ignorePrint
)
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 - ignorePrint
- Type: SystemBoolean
Specifies that the method can
return true despite the fact that in printing-mode, no
current cell is selected.
Return Value
Type:
Booleantrue if a current cell is selected or is the
specified cell. Otherwise,
false if no current cell is
selected or if it is not the specified cell.
Remarks
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