Spread WPF 17
GrapeCity.Windows.SpreadSheet.UI Namespace / SheetView Class / SetSelection Method
The row index of the first cell.
The column index of the first cell.
The number of rows in the selection.
The number of columns in the selection.


In This Topic
    SetSelection Method (SheetView)
    In This Topic
    Selects the specified cells.
    Syntax
    'Declaration
     
    Public Sub SetSelection( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal rowCount As Integer, _
       ByVal columnCount As Integer _
    ) 
    'Usage
     
    Dim instance As SheetView
    Dim row As Integer
    Dim column As Integer
    Dim rowCount As Integer
    Dim columnCount As Integer
     
    instance.SetSelection(row, column, rowCount, columnCount)
    public void SetSelection( 
       int row,
       int column,
       int rowCount,
       int columnCount
    )

    Parameters

    row
    The row index of the first cell.
    column
    The column index of the first cell.
    rowCount
    The number of rows in the selection.
    columnCount
    The number of columns in the selection.
    See Also