Skip to main content

DataControlBase.ColumnHeaderTemplate Property

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

Namespace: DevExpress.WinUI.Grid

Assembly: DevExpress.WinUI.Grid.v21.2.dll

Declaration

public DataTemplate ColumnHeaderTemplate { get; set; }

Property Value

Type Description
DataTemplate

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

Remarks

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.Header 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