FlexGrid for WPF | ComponentOne
C1.WPF.FlexGrid.4.6.2 Assembly / C1.WPF.FlexGrid Namespace / C1FlexGrid Class / Select Method / Select(Int32,Int32,Int32,Int32,Boolean) Method
Index of the first row in the selected range.
Index of the first column in the selected range.
Index of the last row in the selected range.
Index of the last column in the selected range.
Whether to scroll the new selection into view.

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

    Parameters

    row
    Index of the first row in the selected range.
    col
    Index of the first column in the selected range.
    row2
    Index of the last row in the selected range.
    col2
    Index of the last column in the selected range.
    scrollIntoView
    Whether to scroll the new selection into view.
    See Also