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

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

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.

.NET Framework Security

See Also

Reference

DataRepeaterAddRemoveItemsEventArgs Class

Microsoft.VisualBasic.PowerPacks Namespace

ItemsAdded

ItemsRemoved

UserAddedItems

UserDeletedItems

Other Resources

Introduction to the DataRepeater Control (Visual Studio)

How to: Disable Adding and Deleting DataRepeater Items (Visual Studio)