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
- 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
DataRepeaterAddRemoveItemsEventArgs Class
Microsoft.VisualBasic.PowerPacks Namespace
Other Resources
Introduction to the DataRepeater Control (Visual Studio)
How to: Disable Adding and Deleting DataRepeater Items (Visual Studio)