A newer version of this page is available. Switch to the current version.

GridViewTemplates.HeaderCaption Property

Gets or sets a template for displaying column header captions.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll


public virtual ITemplate HeaderCaption { get; set; }
Public Overridable Property HeaderCaption As ITemplate

Property Value

Type Default Description


An object that implements the ITemplate interface.


A column provides the GridViewColumn.HeaderCaptionTemplate property, which provides a custom template for displaying the caption of its header.


Once a template defined via the HeaderCaption property is created within a grid 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