Spread WPF Documentation
ExtendSelection Method (SheetView)
Example 


GrapeCity.Windows.SpreadSheet.UI Namespace > SheetView Class : ExtendSelection Method
The row index of the extended selection.
The column index of the extended selection.
Specifies the last cell in the cell selection.
Syntax
'Declaration
 
Public Sub ExtendSelection( _
   ByVal row As System.Integer, _
   ByVal column As System.Integer _
) 
'Usage
 
Dim instance As SheetView
Dim row As System.Integer
Dim column As System.Integer
 
instance.ExtendSelection(row, column)
public void ExtendSelection( 
   System.int row,
   System.int column
)

Parameters

row
The row index of the extended selection.
column
The column index of the extended selection.
Example
This example uses the ExtendSelection method.
GcSpreadSheet1.View.AddSelection(0, 0, 2, 2);
GcSpreadSheet1.View.ExtendSelection(4, 4);
GcSpreadSheet1.View.AddSelection(0, 0, 2, 2)
GcSpreadSheet1.View.ExtendSelection(4, 4)
See Also

Reference

SheetView Class
SheetView Members