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



Gets or sets the template for displaying the heading section of the TemplateColumn.

Syntax

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

Remarks

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

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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