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


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridControl Class : MoveColumnUnder Method
The column to move.
The parent column under which to move the current column. Can be a null reference (Nothing in Visual Basic) to move the column to the the group of columns that do not have a parent.
Moves the specified current column under the specified parent column.
Syntax
'Declaration
 
Public Function MoveColumnUnder( _

   ByVal current As ColumnBase, _

   ByVal parent As ColumnBase _

) As Boolean
'Usage
 
Dim instance As DataGridControl

Dim current As ColumnBase

Dim parent As ColumnBase

Dim value As Boolean

 

value = instance.MoveColumnUnder(current, parent)
public bool MoveColumnUnder( 

   ColumnBase current,

   ColumnBase parent

)

Parameters

current
The column to move.
parent
The parent column under which to move the current column. Can be a null reference (Nothing in Visual Basic) to move the column to the the group of columns that do not have a parent.

Return Value

true if the move was successful; false, otherwise.
Remarks
The position to where the column can be moved is undefined. To reposition the column within the parent group, the MoveColumnAfter and MoveColumnBefore methods can be used.
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