ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / C1DataGrid Class / MoveColumn Method
The column to move.
Target display index of the column.

In This Topic
    MoveColumn Method
    In This Topic
    Moves the specified column to the target display index.
    Syntax
    'Declaration
     
    
    Public Sub MoveColumn( _
       ByVal column As DataGridColumn, _
       ByVal targetDisplayIndex As Integer _
    ) 
    public void MoveColumn( 
       DataGridColumn column,
       int targetDisplayIndex
    )

    Parameters

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