Spread WPF Documentation
SwapRows Method


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.
Swaps a range of rows with another range of rows.
Syntax
'Declaration
 
Public Sub SwapRows( _
   ByVal fromRow As System.Integer, _
   ByVal toRow As System.Integer, _
   ByVal count As System.Integer _
) 
'Usage
 
Dim instance As SheetSpanModel
Dim fromRow As System.Integer
Dim toRow As System.Integer
Dim count As System.Integer
 
instance.SwapRows(fromRow, toRow, count)
public void SwapRows( 
   System.int fromRow,
   System.int toRow,
   System.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

Reference

SheetSpanModel Class
SheetSpanModel Members