Back to Devexpress

DataGridView.ColumnHeaderContentTemplate Property

mobilecontrols-devexpress-dot-xamarinforms-dot-datagrid-dot-datagridview-b1473caa.md

latest1.5 KB
Original Source

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

csharp
public DataTemplate ColumnHeaderContentTemplate { get; set; }

Property Value

TypeDescription
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

DataGridView Class

DataGridView Members

DevExpress.XamarinForms.DataGrid Namespace