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


GrapeCity.Xaml.SpreadSheet.UI Namespace > SheetView Class : AddSelection Method
The row index of the first cell to add.
The column index of the first cell to add.
The number of rows to add.
The number of columns to add.
Adds a cell or cells to the selection.
Syntax
'Declaration
 
Public Sub AddSelection( _
   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.AddSelection(row, column, rowCount, columnCount)
public void AddSelection( 
   int row,
   int column,
   int rowCount,
   int columnCount
)

Parameters

row
The row index of the first cell to add.
column
The column index of the first cell to add.
rowCount
The number of rows to add.
columnCount
The number of columns to add.
Example
This example uses the AddSelection method.
GcSpreadSheet1.View.AddSelection(0, 0, 3, 3)
GcSpreadSheet1.View.AddSelection(0, 0, 3, 3)
See Also

Reference

SheetView Class
SheetView Members