| GridControlGetSelectedRows Method (Boolean, Boolean) |
Returns an array containing the selected row indices.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public uint[] GetSelectedRows(
bool rangeRowsOnly,
bool canUseCurrentCell
)
Public Function GetSelectedRows (
rangeRowsOnly As Boolean,
canUseCurrentCell As Boolean
) As UInteger()
public:
array<unsigned int>^ GetSelectedRows(
bool rangeRowsOnly,
bool canUseCurrentCell
)
Parameters
- rangeRowsOnly
- Type: SystemBoolean
Set to true to return only
the fully selected row or to false to return rows
where only some cells are selected. - canUseCurrentCell
- Type: SystemBoolean
Set to true if the row
of the current cell can be returned when no other cells are
selected or to false to discard the current
cell.
Return Value
Type:
UInt32An array containing all the selected row
indices.
Remarks
This method loops through the selected ranges and stores the
row index in the returned array.
See Also