DataRepeater.ItemsRemoved Event

 

Occurs when a DataRepeaterItem is deleted from a DataRepeater control.

Namespace:   Microsoft.VisualBasic.PowerPacks
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

Syntax

public event DataRepeaterAddRemoveItemsEventHandler ItemsRemoved
public:
event DataRepeaterAddRemoveItemsEventHandler^ ItemsRemoved {
    void add(DataRepeaterAddRemoveItemsEventHandler^ value);
    void remove(DataRepeaterAddRemoveItemsEventHandler^ value);
}
member ItemsRemoved : IEvent<DataRepeaterAddRemoveItemsEventHandler,
    DataRepeaterAddRemoveItemsEventArgs>
Public Event ItemsRemoved As DataRepeaterAddRemoveItemsEventHandler

Remarks

When items are deleted from a DataRepeater control, the index numbers of subsequent items are changed to compensate.

In virtual mode, this event can be used to delete records from your data store.

For more information about how to handle events, see Handling and Raising Events.

See Also

DataRepeater Class
Microsoft.VisualBasic.PowerPacks Namespace
Introduction to the DataRepeater Control (Visual Studio)
Virtual Mode in the DataRepeater Control (Visual Studio)

Return to top