Xceed DataGrid for WPF v7.2 Documentation
MoveItem Method (MergedHeaderCollection)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > MergedHeaderCollection Class : MoveItem Method
Merged headers cannot be moved. They can be only be removed and added back.
Syntax
'Declaration
 
Protected Overrides Sub MoveItem( _

   ByVal oldIndex As Integer, _

   ByVal newIndex As Integer _

) 
'Usage
 
Dim instance As MergedHeaderCollection

Dim oldIndex As Integer

Dim newIndex As Integer

 

instance.MoveItem(oldIndex, newIndex)
protected override void MoveItem( 

   int oldIndex,

   int newIndex

)

Parameters

oldIndex
newIndex
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

MergedHeaderCollection Class
MergedHeaderCollection Members
Base Implementation in MoveItem