Can you tell me how to change the color of the column header when the column has been clicked?
It still appears as the default blue with white text.
Also the little white lines between the column headers, how to I change those from white.
See attached image.
I have tried the following:
<Style TargetType="{x:Type igDP:LabelPresenter}"> <Setter Property="Background" Value="{DynamicResource NormalBrush}"/> <Setter Property="Foreground" Value="White"/> <Setter Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}"/> <Setter Property="LabelHighlight" Value="{DynamicResource NormalBrush}"/> <Setter Property="InnerBorderBrush" Value="{DynamicResource NormalBrush}"/> <Setter Property="OuterBorderBrush" Value="{DynamicResource NormalBrush}"/> <Style.Triggers> <Trigger Property="SortStatus" Value="Ascending"> <Setter Property="Background" Value="{DynamicResource NormalBrush}"/> </Trigger> <Trigger Property="SortStatus" Value="Descending"> <Setter Property="Background" Value="{DynamicResource NormalBrush}"/> </Trigger> </Style.Triggers> </Style>
Does support monitor this forum?
You can use the following ControlTemplate trigger to achieve what you are looking for:
You can get the default control template from the DefaultStyles directory, which you can find in ProgramFiles-Infragistics folder;
<Trigger Property="SortStatus" Value="Ascending">
<Setter TargetName="fishHeadHighlight" Property="Opacity" Value="1"/>
<Setter TargetName="background" Property="Background" Value="Blue"/>
<Setter TargetName="SortIndicator" Property="Visibility" Value="Visible"/>
</Trigger>
<Trigger Property="SortStatus" Value="Descending">
<Setter TargetName="background" Property="Background" Value="Red"/>