wpf-devexpress-dot-xpf-dot-grid-dot-columnbase-7867847e.md
Gets or sets the template that defines the appearance of the column header displayed in the Filter Editor and Filter Panel. This is a dependency property.
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public DataTemplate FilterEditorHeaderTemplate { get; set; }
Public Property FilterEditorHeaderTemplate As DataTemplate
| Type | Description |
|---|---|
| DataTemplate |
The template that defines the appearance of the column header.
|
The data context for the FilterEditorHeaderTemplate is the BaseColumn.HeaderCaption property value.
<dxg:GridColumn FieldName="ProductName">
<dxg:GridColumn.HeaderTemplate>
<DataTemplate>
<TextBlock Text="{Binding}"
FontWeight="Bold"
Foreground="Red"/>
</DataTemplate>
</dxg:GridColumn.HeaderTemplate>
<dxg:GridColumn.FilterEditorHeaderTemplate>
<DataTemplate>
<TextBlock Text="{Binding}"
FontWeight="Bold"
Foreground="Blue"
FontStyle="Italic"/>
</DataTemplate>
</dxg:GridColumn.FilterEditorHeaderTemplate>
</dxg:GridColumn>
Refer to the following help topic for more information: Header Content Customization.
See Also