DataControlBase.ColumnHeaderTemplate Property

Gets or sets the template that defines the presentation of column header content. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll


public DataTemplate ColumnHeaderTemplate { get; set; }

Property Value

Type Description

A DataTemplate object that defines the presentation of column header contents.


The templates supplied by the GridControl, allow you to completely replace the look and feel of visual elements while maintaining their existing behavior.

The binding source for the ColumnHeaderTemplate template is specified by the ColumnBase.HeaderCaption property’s value. Each column provides the ColumnBase.HeaderTemplate property, that allows you to specify a custom template used to render the contents of its header.

See Also