Spread Silverlight Documentation
SwapColumns Method


GrapeCity.Windows.SpreadSheet.Data Namespace > SheetSpanModel Class : SwapColumns Method
The column index at which to start the swap.
The column index at which to swap columns.
The number of columns to swap.
Swaps a range of columns with another range of columns.
Syntax
'Declaration
 
Public Sub SwapColumns( _
   ByVal fromColumn As System.Integer, _
   ByVal toColumn As System.Integer, _
   ByVal count As System.Integer _
) 
'Usage
 
Dim instance As SheetSpanModel
Dim fromColumn As System.Integer
Dim toColumn As System.Integer
Dim count As System.Integer
 
instance.SwapColumns(fromColumn, toColumn, count)
public void SwapColumns( 
   System.int fromColumn,
   System.int toColumn,
   System.int count
)

Parameters

fromColumn
The column index at which to start the swap.
toColumn
The column index at which to swap columns.
count
The number of columns to swap.
See Also

Reference

SheetSpanModel Class
SheetSpanModel Members