Skip to main content

DataViewBase.ColumnHeaderTemplate Property

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

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v14.2.Core.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 binding source for the ColumnHeaderTemplate template is specified by the BaseColumn.HeaderCaption property's value. Each column provides the BaseColumn.HeaderTemplate property, that allows you to specify a custom template used to render the contents of its header.

To learn more, see Styles and Templates Overview.

#Implements

DevExpress.Xpf.Grid.IColumnOwnerBase.ColumnHeaderTemplate
See Also