EntityTemplate.ItemTemplate Property

.NET Framework (current version)
 

Gets or sets the custom content for the data item in a EntityTemplate control.

Namespace:   System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

[BrowsableAttribute(false)]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[TemplateContainerAttribute(typeof(INamingContainer))]
public virtual ITemplate ItemTemplate { get; set; }

Property Value

Type: System.Web.UI.ITemplate

The custom content for the data item in a EntityTemplate control.

The ASP.NET controls in the DynamicData\EntityTemplates folder of a Dynamic Data project contain markup that uses this property.

.NET Framework
Available since 4.0
Return to top
Show: