[]
        
(Showing Draft Content)

C1.GanttView.GroupModelCollection.InsertItem

InsertItem Method

InsertItem(int, BaseGroup)

Inserts an element into the System.Collections.ObjectModel.Collection<T> at the specified index.

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

The zero-based index at which item should be inserted.

BaseGroup item

The object to insert. 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.