Share via


RepeaterItem.DisplayIndex Property

 

Gets the index of the displayed item in the repeater control.

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

Syntax

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

Property Value

Type: System.Int32

The index of the displayed item in the repeater control.

Implements

IDataItemContainer.DisplayIndex

See Also

RepeaterItem Class
Microsoft.Web.Mvc.Controls Namespace

Return to top