PowerWEB LiveControls for ASP.NET
ItemTemplate Property
See Also  Send comments on this topic.
Dart.LiveControls Namespace > LiveTemplateColumn Class : ItemTemplate Property



Gets or sets the template for displaying a data item in a TemplateColumn.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<PersistenceModeAttribute(PersistenceMode.InnerProperty)>
<BrowsableAttribute(False)>
<DescriptionAttribute("TemplateColumn_ItemTemplate")>
<TemplateContainerAttribute(BindingDirection=BindingDirection.OneWay, ContainerType=System.Web.UI.WebControls.DataGridItem)>
Public Overridable Property ItemTemplate As ITemplate
Visual Basic (Usage)Copy Code
Dim instance As LiveTemplateColumn
Dim value As ITemplate
 
instance.ItemTemplate = value
 
value = instance.ItemTemplate
C# 
[DefaultValueAttribute()]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[BrowsableAttribute(false)]
[DescriptionAttribute("TemplateColumn_ItemTemplate")]
[TemplateContainerAttribute(BindingDirection=BindingDirection.OneWay, ContainerType=System.Web.UI.WebControls.DataGridItem)]
public virtual ITemplate ItemTemplate {get; set;}
C++/CLI 
[DefaultValueAttribute()]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[BrowsableAttribute(false)]
[DescriptionAttribute("TemplateColumn_ItemTemplate")]
[TemplateContainerAttribute(BindingDirection=BindingDirection.OneWay, ContainerType=System.Web.UI.WebControls.DataGridItem)]
public:
virtual property ITemplate^ ItemTemplate {
   ITemplate^ get();
   void set (    ITemplate^ value);
}

Remarks

This member is functionally equivalent to System.Web.UI.WebControls.TemplateColumn.ItemTemplate.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.0.2
© 2012 Dart Communications. All Rights Reserved.