Xceed DataGrid for WPF v7.3 Documentation
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.


In This Topic
    SetItem Method (ObservableColumnCollection)
    In This Topic
    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