Hi.
I am using Grouping with GroupRenderMode set to Flat and ColumnAggregatesAlignment set to NextToGroupKey.
My problem is that as long as i try i cannot overwrite the ToggleButton style in order to link the foreground to a resource.
Below is what i believe that is the style of the toggle button. Whatever i do, nothing works.
<Style BasedOn="{StaticResource GroupHeaderRowToggleButtonStyle}" TargetType="{x:Type ToggleButton}">
<Setter Property="Control.Template" Value="{StaticResource GroupHeaderRowToggleButtonTemplateCUSTOM}"/>
<Setter Property="Control.HorizontalContentAlignment" Value="Left"/>
<Setter Property="Control.VerticalContentAlignment" Value="Center"/>
<Setter Property="Control.Padding" Value="9 0 0 0"/>
</Style>