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

'Declaração
Public ReadOnly Property ItemIndex As Integer
    Get
public int ItemIndex { get; }
public:
property int ItemIndex {
    int get ();
}
member ItemIndex : int
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)