Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

EntityTemplate.ItemTemplate Property

.NET Framework 4.6 and 4.5

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

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft