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


GrapeCity.Xaml.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 Integer, _
   ByVal column As Integer _
) 
'Usage
 
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
 
instance.ExtendSelection(row, column)
public void ExtendSelection( 
   int row,
   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