Share via


RepeaterItem.DataItem Property

 

Gets a data item associated with the RepeaterItem object in the Repeater control.

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

Syntax

public object DataItem { get; }
public:
property Object^ DataItem {
    virtual Object^ get() sealed;
}
abstract DataItem : Object with get
override DataItem : Object with get
Public ReadOnly Property DataItem As Object

Property Value

Type: System.Object

A data item associated with the RepeaterItem object in the Repeater control.

Implements

IDataItemContainer.DataItem

See Also

RepeaterItem Class
Microsoft.Web.Mvc.Controls Namespace

Return to top