Hi,
I have try to change the text color of the cell with this code, but the cell text remain black.
<Style TargetType="{x:Type igDP:DataRecordCellArea}"> <Setter Property="BackgroundHover" Value="Red"/> <Setter Property="BorderHoverBrush" Value="#FF4B4B4B"/> <Setter Property="BackgroundAlternate" Value="#FF3F3C3B"/> <Setter Property="BackgroundActive" Value="Orange"/> <Setter Property="ForegroundStyle"> <Setter.Value> <Style> <Setter Property="TextBlock.Foreground" Value="White" /> </Style> </Setter.Value> </Setter> <Setter Property="ForegroundHoverStyle"> <Setter.Value> <Style> <Setter Property="TextBlock.Foreground" Value="White" /> </Style> </Setter.Value> </Setter> <Setter Property="ForegroundActiveStyle"> <Setter.Value> <Style> <Setter Property="TextBlock.Foreground" Value="White" /> </Style> </Setter.Value> </Setter> <Setter Property="ForegroundAlternateStyle"> <Setter.Value> <Style> <Setter Property="TextBlock.Foreground" Value="White" /> </Style> </Setter.Value> </Setter> <Setter Property="ForegroundSelectedStyle"> <Setter.Value> <Style> <Setter Property="TextBlock.Foreground" Value="White" /> </Style> </Setter.Value> </Setter> </Style>
What about changing the text color to a Themed grid? Can that be done?
<igDP:XamDataGrid Margin="0,0,5,5" Name="xdgDatos" xmlns:igDP="http://infragistics.com/DataPresenter" Theme="Onyx" >
<igDP:XamDataGrid.FieldLayoutSettings>
<igDP:FieldLayoutSettings x:Uid="igDP:FieldLayoutSettings_1" HighlightAlternateRecords="True" />
</igDP:XamDataGrid.FieldLayoutSettings>
</igDP:XamDataGrid>