Share via


RepeaterItem.DataItemIndex Property

 

Gets the index of the item in the repeater.

Namespace:   Microsoft.Web.Mvc.Controls
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

Syntax

public int DataItemIndex { get; }
public:
property int DataItemIndex {
    virtual int get() sealed;
}
abstract DataItemIndex : int with get
override DataItemIndex : int with get
Public ReadOnly Property DataItemIndex As Integer

Property Value

Type: System.Int32

The index of the item in the repeater.

Implements

IDataItemContainer.DataItemIndex

See Also

RepeaterItem Class
Microsoft.Web.Mvc.Controls Namespace

Return to top