Skip to main content
Tab

GridViewTemplates.Header Property

Specifies a template to display column headers.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
ITemplate null

An object that implements the ITemplate interface.

Remarks

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

At the column level, use the GridViewColumn.HeaderTemplate property to specify a template for the column header.

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

See Also