[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.BlackoutDatesCollection.InsertItem

InsertItem Method

InsertItem(int, CalendarDateRange)

Inserts an item into the collection at the specified index.

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

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

CalendarDateRange item

The object to insert.

Overrides
Remarks

The base class calls this method when an item is added to the collection. This implementation raises the CollectionChanged event. For more information, see the InsertItem(int, T) method of the Collection<T> base class.

Exceptions
Type Condition
NotSupportedException

The calling thread of this method isn't the thread which initialized current instance.