Spread Silverlight Documentation
AddSelection Method (SheetView)
Example 


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 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.AddSelection(row, column, rowCount, columnCount)
public void AddSelection( 
   System.int row,
   System.int column,
   System.int rowCount,
   System.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)
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.