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

Inner Column Header Template Customization

You can modify column header appearance using built-in templates. Locate the required element’s template, embed it in your application’s resources and modify it without compromising the template’s internal structure. The image below shows an example of a grid column with a modified column header filter button:

ColumnHeaderCustomizationInnerTemplate

The following code sample demonstrates how to change the column header’s filter button appearance:

<dx:ThemedWindow.Resources>
   <ControlTemplate x:Key="{dxgt:GridColumnHeaderThemeKey ResourceKey=ColumnFilterTemplate, IsThemeIndependent=True}" TargetType="{x:Type ToggleButton}">
      <Image Source="Filter.png" Width="16" Height="16" />
   </ControlTemplate>
</dx:ThemedWindow.Resources>

Refer to the following help topic for more information: Modify Theme Resources.

See Also