Share via


DataRepeater.DeletingItems Event

 

Occurs when a DataRepeaterItem is being deleted.

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

Syntax

public event DataRepeaterAddRemoveItemsCancelEventHandler DeletingItems
public:
event DataRepeaterAddRemoveItemsCancelEventHandler^ DeletingItems {
    void add(DataRepeaterAddRemoveItemsCancelEventHandler^ value);
    void remove(DataRepeaterAddRemoveItemsCancelEventHandler^ value);
}
member DeletingItems : IEvent<DataRepeaterAddRemoveItemsCancelEventHandler,
    DataRepeaterAddRemoveItemsCancelEventArgs>
Public Event DeletingItems As DataRepeaterAddRemoveItemsCancelEventHandler

Remarks

Use this event to cancel a deletion by setting the Cancel property of the DataRepeaterAddRemoveItemsCancelEventArgs to True.

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)
How to: Disable Adding and Deleting DataRepeater Items (Visual Studio)

Return to top