System.Web.UI.WebControls.RepeaterItem.ItemIndex Property

Gets the index of the item in the System.Web.UI.WebControls.Repeater control from the Repeater.Items collection of the control.

Syntax

public virtual int ItemIndex { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the RepeaterItem.ItemIndex property to determine the index number of the item in the System.Web.UI.WebControls.Repeater control from the Repeater.Items collection of the control.

Note:

This property only applies to data items in the System.Web.UI.WebControls.Repeater control. The RepeaterItem.ItemType property must be set to ListItemType.Item, ListItemType.AlternatingItem, ListItemType.SelectedItem, or ListItemType.EditItem.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0