Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / SheetSpanModel Class / SwapRows Method
The row index at which to start the swap.
The row index at which to swap rows.
The number of rows to swap.


In This Topic
    SwapRows Method
    In This Topic
    Swaps a range of rows with another range of rows.
    Syntax
    'Declaration
     
    Public Sub SwapRows( _
       ByVal fromRow As Integer, _
       ByVal toRow As Integer, _
       ByVal count As Integer _
    ) 
    'Usage
     
    Dim instance As SheetSpanModel
    Dim fromRow As Integer
    Dim toRow As Integer
    Dim count As Integer
     
    instance.SwapRows(fromRow, toRow, count)
    public void SwapRows( 
       int fromRow,
       int toRow,
       int count
    )

    Parameters

    fromRow
    The row index at which to start the swap.
    toRow
    The row index at which to swap rows.
    count
    The number of rows to swap.
    See Also