Skip to main content

DataGridView.ColumnHeaderContentTemplate Property

Gets or sets the template that defines the visual representation of column headers.

Namespace: DevExpress.XamarinForms.DataGrid

Assembly: DevExpress.XamarinForms.Grid.dll

NuGet Package: DevExpress.XamarinForms.Grid

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