Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DataGridView.ColumnHeaderContentTemplate Property

Gets or sets the template that defines the visual representation of column headers. This is a bindable property.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

#Declaration

C#
public DataTemplate ColumnHeaderContentTemplate { get; set; }

#Property Value

Type Description
DataTemplate

A template for column headers.

#Remarks

Use the GridColumn.HeaderContentTemplate property to define the visual structure for a header of an individual column. To set a common header template to be applied to all columns displayed in the grid, use the grid’s ColumnHeaderContentTemplate property. The GridColumn class specifies the binding context for these templates.

See Also