Xceed DataGrid for WPF v7.2 Documentation
SetItem Method (ObservableColumnCollection)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > ObservableColumnCollection Class : SetItem Method
The zero-based index at which to insert the column.
The column to insert.
Inserts the column at the specified index.
Syntax
'Declaration
 
Protected Overrides Sub SetItem( _

   ByVal index As Integer, _

   ByVal item As ColumnBase _

) 
'Usage
 
Dim instance As ObservableColumnCollection

Dim index As Integer

Dim item As ColumnBase

 

instance.SetItem(index, item)
protected override void SetItem( 

   int index,

   ColumnBase item

)

Parameters

index
The zero-based index at which to insert the column.
item
The column to insert.
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

ObservableColumnCollection Class
ObservableColumnCollection Members
Base Implementation in SetItem