Share via


DataRepeaterAddRemoveItemsEventArgs.ItemIndex Property

 

Gets the index of the item being added or deleted.

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

Syntax

public int ItemIndex { get; }
public:
property int ItemIndex {
    int get();
}
member ItemIndex : int with get
Public ReadOnly Property ItemIndex As Integer

Property Value

Type: System.Int32

The index of the item.

Remarks

The DataRepeaterAddRemoveItemsEventArgs object contains an ItemIndex property can be used to determine the index of the DataRepeaterItem that is being added to or removed from a DataRepeater control.

See Also

ItemsAdded
ItemsRemoved
UserAddedItems
UserDeletedItems
DataRepeaterAddRemoveItemsEventArgs 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