An item is about to be deleted.
|VB.NET||Private Sub object_ItemDeleted(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.ItemDeleted|
|VB||Private Sub object_ItemDeleted(ByVal ItemIndex As Long)|
|C#.NET||void object_ItemDeleted(object sender, EventArgumentType e);|
|VC++||void OnItemDeletedobject(long ItemIndex);|
|C||HRESULT OnItemDeletedobject(long ItemIndex);|
The zero-based index of the item being deleted.
The ItemDeleted event occurs when an item is about to be deleted.
This event can be used to perform application-specific cleanup processing as items are deleted. If data is attached to items using the Item.Data or Cell.Data properties, this event can be used to perform the necessary cleanup action, which may be required by the application.
The ItemDeleted event is generated each time an item is deleted.
No items or cells may be modified, inserted or deleted while this event is handled.