Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DataRepeater.UserAddedItems Event

Occurs when the user adds a new DataRepeaterItem by pressing the CTRL+N keyboard shortcut.

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

public event DataRepeaterAddRemoveItemsEventHandler UserAddedItems

The UserAddedItems event is raised when a request is made to add a new item, before the new item is displayed. Use this event to retrieve the index for the new item from the DataRepeaterAddRemoveItemsEventArgs.

Note:

This event is raised only when the user adds an item by using the keyboard shortcut. The ItemsAdded event is raised first and handles all methods of adding a new item.

For more information about how to handle events, see Consuming Events.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.