Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
175
Foreground color of a row is overridden when hovering the row.
posted

I'm trying to change the Foreground color of a row by adding a style to CellValuePresenter using the following code:

<Style TargetType="{x:Type igDP:CellValuePresenter}" >
        <Setter Property="Foreground" Value="Red/>
</Style>-->

It works fine as long as nothing changes in the row, but whenever I move with the mouse over that row the foreground color changes back to black.

I tried setting the rest of the Foreground properties to null in the same style (ForegroundHover, ForegroundSelected, etc) but it didn't work.

Any Idea?