[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.SelectedDatesCollection.SetItem

SetItem Method

SetItem(int, DateTime)

Replaces the item at the specified index.

Declaration
protected override void SetItem(int index, DateTime item)
Protected Overrides Sub SetItem(index As Integer, item As Date)
Parameters
Type Name Description
int index

The zero-based index of the item to replace.

DateTime item

The new value for the item at the specified index.

Overrides
Remarks

This implementation raises the CollectionChanged event for 2 times because the collection will be sorted, the 1st CollectionChanged event Action is Remove and the 2nd CollectionChanged event Action is Add.