fbecker

Hello,

I want to re-style my (listview) gridview header row. But I only see the ColumnHeaderTemplate and the standart color scheme still appears in the background especially on resizing. I want to get rid of the brownish bar...

Is there any way



Re: Windows Presentation Foundation (WPF) How to set the background of the header row in a gridview

Yi-Lun Luo - MSFT

Hello, try this:

<Style TargetType="{x:Type GridViewColumnHeader}" BasedOn="{StaticResource {x:Type GridViewColumnHeader}}">

<Setter Property="Background" Value="Blue"/>

</Style>