DataRepeater.UserDeletedItems Event
Occurs after the user deletes a DataRepeaterItem by pressing the DELETE key.
Namespace: Microsoft.VisualBasic.PowerPacks
Assembly: Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)
Syntax
'Declaration
Public Event UserDeletedItems As DataRepeaterAddRemoveItemsEventHandler
public event DataRepeaterAddRemoveItemsEventHandler UserDeletedItems
public:
event DataRepeaterAddRemoveItemsEventHandler^ UserDeletedItems {
void add (DataRepeaterAddRemoveItemsEventHandler^ value);
void remove (DataRepeaterAddRemoveItemsEventHandler^ value);
}
member UserDeletedItems : 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.
Hinweis
This event is raised only when the user deletes an item by using the keyboard shortcut. The ItemsRemoved event is raised first and handles all methods of deleting an item.
For more information about how to handle events, see Consuming Events.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualBasic.PowerPacks Namespace
Other Resources
Introduction to the DataRepeater Control (Visual Studio)
How to: Disable Adding and Deleting DataRepeater Items (Visual Studio)