Editar

Partilhar via


EntityTemplate.ItemTemplate Property

Definition

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

public:
 virtual property System::Web::UI::ITemplate ^ ItemTemplate { System::Web::UI::ITemplate ^ get(); void set(System::Web::UI::ITemplate ^ value); };
[System.ComponentModel.Browsable(false)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
[System.Web.UI.TemplateContainer(typeof(System.Web.UI.INamingContainer))]
public virtual System.Web.UI.ITemplate ItemTemplate { get; set; }
[<System.ComponentModel.Browsable(false)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
[<System.Web.UI.TemplateContainer(typeof(System.Web.UI.INamingContainer))>]
member this.ItemTemplate : System.Web.UI.ITemplate with get, set
Public Overridable Property ItemTemplate As ITemplate

Property Value

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

Attributes

Remarks

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

Applies to