[]
        
(Showing Draft Content)

C1.GanttView.GroupModelCollection.SetItem

SetItem Method

SetItem(int, BaseGroup)

Replaces the element at the specified index.

Declaration
protected override void SetItem(int index, BaseGroup item)
Parameters
Type Name Description
int index

The zero-based index of the element to replace.

BaseGroup item

The new value for the element at the specified index. The value can be null for reference types.

Overrides
Exceptions
Type Condition
ArgumentOutOfRangeException

Thrown when index is less than zero.-or-index is greater than System.Collections.ObjectModel.Collection<T>.Count.