EntityTemplate.ItemTemplate Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: