Inserts the given date into the specified index. If the current selection mode is None, then the date will not be added. If the current selection mode is SingleDate, then the collection will be cleared before inserting the date. If the current selection mode is SingleRange and this insert operation breakes the selection range, The the collection will be cleared before inserting the date.

Namespace: Mindscape.SilverlightElements
Assembly: Mindscape.SilverlightElements (in Mindscape.SilverlightElements.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
protected override void InsertItem(
	int index,
	DateTime item
)
Visual Basic
Protected Overrides Sub InsertItem ( _
	index As Integer, _
	item As DateTime _
)
Visual C++
protected:
virtual void InsertItem(
	int index, 
	DateTime item
) override

Parameters

index
Type: System..::..Int32
The index where the given date will be inserted
item
Type: System..::..DateTime
The date to be inserted.

See Also