[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.DateFieldCollection.InsertItem

InsertItem Method

InsertItem(int, DateField)

Inserts an item into the collection at the specified index.

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

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

DateField item

The object to insert.

Overrides
Exceptions
Type Condition
InvalidOperationException

When add the DateField of the same function to the collection, e.g. the a DateYearField is in the collection, you cannot add either DateEraField or DateEraYearField.