[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.SubItemCollection.InsertItem

InsertItem Method

InsertItem(int, SubItem)

Inserts a SubItem into the collection at the specified index.

Declaration
protected override void InsertItem(int index, SubItem subItem)
Protected Overrides Sub InsertItem(index As Integer, subItem As SubItem)
Parameters
Type Name Description
int index

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

SubItem subItem

The SubItem to insert.

Overrides
Exceptions
Type Condition
InvalidOperationException

Can't modify SubItems of auto generated ListItem.

ArgumentException

subItem has been in the collection.

ArgumentNullException

subItem can't be null.