Spread WPF Documentation
SetSelection Method (SheetView)
Example 


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.
Selects the specified cells.
Syntax
'Declaration
 
Public Sub SetSelection( _
   ByVal row As System.Integer, _
   ByVal column As System.Integer, _
   ByVal rowCount As System.Integer, _
   ByVal columnCount As System.Integer _
) 
'Usage
 
Dim instance As SheetView
Dim row As System.Integer
Dim column As System.Integer
Dim rowCount As System.Integer
Dim columnCount As System.Integer
 
instance.SetSelection(row, column, rowCount, columnCount)
public void SetSelection( 
   System.int row,
   System.int column,
   System.int rowCount,
   System.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.
Example
This example uses the SetSelection method.
GcSpreadSheet1.View.SetSelection(0, 0, 3, 3);
GcSpreadSheet1.View.SetSelection(0, 0, 3, 3)
See Also

Reference

SheetView Class
SheetView Members