I am trying to set the Background and Text color of the Summary row for the grid.
I am using this Style
<Style TargetType="ig:CellControl" x:Key="SummaryRowStyle"> <Setter Property="Background" Value="#FF6693CF"/> <Setter Property="Foreground" Value="#FFFFFFFF"/></Style>This only changes the Background color, the Text Color is still Black.How can I achieve this?
I had to change the default style template as follows to get this to work.
<Setter Property="SummaryDisplayTemplate"> <Setter.Value> <DataTemplate> <StackPanel Orientation="Horizontal" HorizontalAlignment="Right"> <TextBlock Foreground="White" Text="{Binding SummaryDefinition.SummaryOperand.RowDisplayLabelResolved}" /> <TextBlock Foreground="#FFFFFFFF" Text=" = "/> <TextBlock Foreground="#FFFFFFFF" Text="{Binding Converter={StaticResource SDFormatStringConverter}}"/> </StackPanel> </DataTemplate> </Setter.Value></Setter>