Share via


Repeater.ItemTemplate Property

 

Gets or sets the template used to display repeater items.

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

Syntax

[BrowsableAttribute(false)]
[TemplateContainerAttribute(typeof(RepeaterItem))]
[TemplateInstanceAttribute(TemplateInstance.Multiple)]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public ITemplate ItemTemplate { get; set; }
public:
[BrowsableAttribute(false)]
[TemplateContainerAttribute((RepeaterItem^::typeid))]
[TemplateInstanceAttribute(TemplateInstance::Multiple)]
[PersistenceModeAttribute(PersistenceMode::InnerProperty)]
property ITemplate^ ItemTemplate {
    ITemplate^ get();
    void set(ITemplate^ value);
}
[<BrowsableAttribute(false)>]
[<TemplateContainerAttribute(typeof(RepeaterItem))>]
[<TemplateInstanceAttribute(TemplateInstance.Multiple)>]
[<PersistenceModeAttribute(PersistenceMode.InnerProperty)>]
member ItemTemplate : ITemplate with get, set
<BrowsableAttribute(False)>
<TemplateContainerAttribute(GetType(RepeaterItem))>
<TemplateInstanceAttribute(TemplateInstance.Multiple)>
<PersistenceModeAttribute(PersistenceMode.InnerProperty)>
Public Property ItemTemplate As ITemplate

Property Value

Type: System.Web.UI.ITemplate

The template used to display repeater items.

See Also

Repeater Class
Microsoft.Web.Mvc.Controls Namespace

Return to top