Skip to main content

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

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