Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / DataGridControl Class / MoveColumnAfter Method
The column to move.
The column that will become the current column's previous column.


In This Topic
    MoveColumnAfter Method (DataGridControl)
    In This Topic
    Moves the first column immediately after the second.
    Syntax
    'Declaration
     
    Public Function MoveColumnAfter( _
       ByVal current As ColumnBase, _
       ByVal previous As ColumnBase _
    ) As Boolean
    'Usage
     
    Dim instance As DataGridControl
    Dim current As ColumnBase
    Dim previous As ColumnBase
    Dim value As Boolean
     
    value = instance.MoveColumnAfter(current, previous)
    public bool MoveColumnAfter( 
       ColumnBase current,
       ColumnBase previous
    )

    Parameters

    current
    The column to move.
    previous
    The column that will become the current column's previous column.

    Return Value

    true if the move was successful; false, otherwise.
    Requirements

    Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also