MaterialDesignInXamlToolkit icon indicating copy to clipboard operation
MaterialDesignInXamlToolkit copied to clipboard

BUG: Missing Background styling in x:Type GridViewColumnHeader

Open DrCQ opened this issue 2 years ago • 1 comments

The GridViewColumnHeader override the default style but not use the Background property in the Template. This prevents styling of the header's Background.

Please add the following: Background={Template Binding Background} to the HeaderBorder: <Border Name="HeaderBorder" Padding="{TemplateBinding Padding}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}"> This solves the problem and allows Background changes to the GridViewColumnHeader.

Regards, Christoph

DrCQ avatar Apr 06 '22 18:04 DrCQ

Feel free to submit a pull request if you think this is the solution

ElieTaillard avatar Jul 21 '22 08:07 ElieTaillard