Skip to main content
Tab

GridViewTemplates.HeaderCaption Property

Specifies a template to display column header captions.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
ITemplate null

An object that implements the ITemplate interface.

Remarks

When you specify the HeaderCaption property, the control creates a template within a container object of the GridViewHeaderTemplateContainer type.

At the column level, use the GridViewColumn.HeaderCaptionTemplate property to create a template for the column header caption.

Refer to the Create Templates topic for information on how to create templates for the Grid View control’s elements.

See Also