ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / DataGridColumnCollection Class / SetItem Method
The zero-based index of the element to replace.
The new value for the element at the specified index. The value can be null for reference types.

In This Topic
    SetItem Method
    In This Topic
    Replaces the element at the specified index.
    Syntax
    'Declaration
     
    
    Protected Overrides Sub SetItem( _
       ByVal index As Integer, _
       ByVal item As DataGridColumn _
    ) 
    protected override void SetItem( 
       int index,
       DataGridColumn item
    )

    Parameters

    index
    The zero-based index of the element to replace.
    item
    The new value for the element at the specified index. The value can be null for reference types.
    Exceptions
    ExceptionDescription
    index is less than zero. -or- index is greater than Count.
    See Also