Skip to main content
A newer version of this page is available. .
Tab

GridViewColumn.HeaderTemplate Property

Gets or sets a template used to display the content of the column’s header.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue(null)]
public virtual ITemplate HeaderTemplate { get; set; }

Property Value

Type Default Description
ITemplate *null*

An object that supports the ITemplate interface and contains a template used to display the header’s content.

Remarks

Note

Once a template defined via the HeaderTemplate property is created within a control, it is instantiated within a container object of the GridViewHeaderTemplateContainer type. This container object exposes a set of specific properties to which the template’s child controls can be bound.

See Also