ComponentOne FlexGrid for WinForms
Select(Int32,Int32,Int32,Int32,Boolean) Method

C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class > Select Method : Select(Int32,Int32,Int32,Int32,Boolean) Method
New value for the Row property.
New value for the Col property.
New value for the RowSel property.
New value for the ColSel property.
Whether to scroll the new selection into view.
Selects a range of cells.
Syntax
'Declaration
 
Public Overloads Sub Select( _
   ByVal row As Integer, _
   ByVal col As Integer, _
   ByVal rowSel As Integer, _
   ByVal colSel As Integer, _
   ByVal show As Boolean _
) 
public void Select( 
   int row,
   int col,
   int rowSel,
   int colSel,
   bool show
)

Parameters

row
New value for the Row property.
col
New value for the Col property.
rowSel
New value for the RowSel property.
colSel
New value for the ColSel property.
show
Whether to scroll the new selection into view.
Remarks
Using the Select(CellRange,Boolean) method is equivalent to setting the Row, Col, RowSel, and ColSel properties.
See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members
Overload List