مشاركة عبر


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 ItemsRemoved As DataRepeaterAddRemoveItemsEventHandler
'الاستخدام
Dim instance As DataRepeater
Dim handler As DataRepeaterAddRemoveItemsEventHandler

AddHandler instance.ItemsRemoved, handler
public event DataRepeaterAddRemoveItemsEventHandler ItemsRemoved
public:
 event DataRepeaterAddRemoveItemsEventHandler^ ItemsRemoved {
    void add (DataRepeaterAddRemoveItemsEventHandler^ value);
    void remove (DataRepeaterAddRemoveItemsEventHandler^ value);
}
member ItemsRemoved : IEvent<DataRepeaterAddRemoveItemsEventHandler,
    DataRepeaterAddRemoveItemsEventArgs>
JScript does not support events.

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 Consuming Events.

.NET Framework Security

See Also

Reference

DataRepeater Class

DataRepeater Members

Microsoft.VisualBasic.PowerPacks Namespace

Other Resources

Introduction to the DataRepeater Control (Visual Studio)

Virtual Mode in the DataRepeater Control (Visual Studio)