ComponentOne DataGrid for WPF and Silverlight
MoveColumn Method (C1DataGrid)

C1.WPF.DataGrid Namespace > C1DataGrid Class : MoveColumn Method
The column to move.
Target display index of the column.
Moves the specified column to the target display index.
Syntax
'Declaration
 
Public Sub MoveColumn( _
   ByVal column As DataGridColumn, _
   ByVal targetDisplayIndex As System.Integer _
) 
public void MoveColumn( 
   DataGridColumn column,
   System.int targetDisplayIndex
)

Parameters

column
The column to move.
targetDisplayIndex
Target display index of the column.
See Also

Reference

C1DataGrid Class
C1DataGrid Members