GrapeCity.Xaml.SpreadSheet.Data
OnSwap Method (RowFilterBase)


GrapeCity.Xaml.SpreadSheet.Data Namespace > RowFilterBase Class : OnSwap Method
The row index from which to begin the swap.
The column index from which to begin the swap.
The row index of the destination range.
The column index of the destination range.
The number of rows to swap.
The number of columns to swap.
Swaps filters of the specified range from one location to another.
Syntax
'Declaration
 
Protected MustOverride Sub OnSwap( _
   ByVal fromRow As Integer, _
   ByVal fromColumn As Integer, _
   ByVal toRow As Integer, _
   ByVal toColumn As Integer, _
   ByVal rowCount As Integer, _
   ByVal columnCount As Integer _
) 
'Usage
 
Dim instance As RowFilterBase
Dim fromRow As Integer
Dim fromColumn As Integer
Dim toRow As Integer
Dim toColumn As Integer
Dim rowCount As Integer
Dim columnCount As Integer
 
instance.OnSwap(fromRow, fromColumn, toRow, toColumn, rowCount, columnCount)
protected abstract void OnSwap( 
   int fromRow,
   int fromColumn,
   int toRow,
   int toColumn,
   int rowCount,
   int columnCount
)

Parameters

fromRow
The row index from which to begin the swap.
fromColumn
The column index from which to begin the swap.
toRow
The row index of the destination range.
toColumn
The column index of the destination range.
rowCount
The number of rows to swap.
columnCount
The number of columns to swap.
See Also

Reference

RowFilterBase Class
RowFilterBase Members