FlexSheet for WPF | ComponentOne
C1.WPF.FlexGrid Namespace / C1FlexGrid Class / Select Method / Select(Int32,Int32,Boolean) Method
Index of the row that contains the selected cell.
Index of the column that contains the selected cell.
Whether to scroll the new selection into view.

In This Topic
    Select(Int32,Int32,Boolean) Method
    In This Topic
    Selects a given cell and optionally scrolls it into view.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Select( _
       ByVal row As Integer, _
       ByVal col As Integer, _
       ByVal scrollIntoView As Boolean _
    ) 
    public void Select( 
       int row,
       int col,
       bool scrollIntoView
    )

    Parameters

    row
    Index of the row that contains the selected cell.
    col
    Index of the column that contains the selected cell.
    scrollIntoView
    Whether to scroll the new selection into view.
    See Also