Spread Windows Forms 14.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / OnSwapCells Method
Start row index
Start column index
End row index
End column index
Number of rows
Number of columns


In This Topic
    OnSwapCells Method
    In This Topic
    Occurs when the cells are swapped.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub OnSwapCells( _
       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 SheetView
    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.OnSwapCells(fromRow, fromColumn, toRow, toColumn, rowCount, columnCount)
    protected virtual void OnSwapCells( 
       int fromRow,
       int fromColumn,
       int toRow,
       int toColumn,
       int rowCount,
       int columnCount
    )

    Parameters

    fromRow
    Start row index
    fromColumn
    Start column index
    toRow
    End row index
    toColumn
    End column index
    rowCount
    Number of rows
    columnCount
    Number of columns
    See Also