GrapeCity.Xaml.SpreadSheet.UI
SetSelection Method (SheetView)
Example 


GrapeCity.Xaml.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 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.
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