Xceed DataGrid for WPF v7.2 Documentation
MoveColumnBefore Method (DataGridControl)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridControl Class : MoveColumnBefore Method
The column to move.
The column that will become the current column's next column.
Moves the first column immediately before the second.
Syntax
'Declaration
 
Public Function MoveColumnBefore( _
   ByVal current As ColumnBase, _
   ByVal next As ColumnBase _
) As Boolean
'Usage
 
Dim instance As DataGridControl
Dim current As ColumnBase
Dim next As ColumnBase
Dim value As Boolean
 
value = instance.MoveColumnBefore(current, next)
public bool MoveColumnBefore( 
   ColumnBase current,
   ColumnBase next
)

Parameters

current
The column to move.
next
The column that will become the current column's next 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

Reference

DataGridControl Class
DataGridControl Members