Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / ObservableColumnCollection Class / InsertItem Method
The index for the new item.
The item to insert.


In This Topic
    InsertItem Method (ObservableColumnCollection)
    In This Topic
    Inserts an item in the collection.
    Syntax
    'Declaration
     
    Protected Overrides Sub InsertItem( _
       ByVal index As Integer, _
       ByVal item As ColumnBase _
    ) 
    'Usage
     
    Dim instance As ObservableColumnCollection
    Dim index As Integer
    Dim item As ColumnBase
     
    instance.InsertItem(index, item)
    protected override void InsertItem( 
       int index,
       ColumnBase item
    )

    Parameters

    index
    The index for the new item.
    item
    The item 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