FlexGrid for WinForms | ComponentOne
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.

In This Topic
    Select(Int32,Int32,Int32,Int32,Boolean) Method
    In This Topic
    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