The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.v19.2.dll

Declaration

public DataTemplate ColumnHeaderTemplate { get; set; }
Public Property ColumnHeaderTemplate As DataTemplate

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