Click or drag to resize
GridControlGetSelectedCols Method (Boolean)
Returns an array containing the selected column indices.

Namespace: Stingray.Grid
Assembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax
public uint[] GetSelectedCols(
	bool rangeColsOnly
)

Parameters

rangeColsOnly
Type: SystemBoolean
Set to true to return only the fully selected columns or to false to return columns where only some cells are selected.

Return Value

Type: UInt32
An array containing all the selected columns indices.
Remarks
This method loops through the selected ranges and stores the column index in the returned array.
See Also