Change Row Foreground on MouseOver - C1DataGrid

Posted by: gregor.sch on 27 November 2017, 9:11 pm EST

    • Post Options:
    • Link

    Posted 27 November 2017, 9:11 pm EST

    Hi all,

    I’m working on a WPF app with multiple C1DataGrids, all with SelectionMode=“SingleRow”. When hovering over a row, the background changes like it should, but I want the foreground of all cells in the row to change also.

    With template modifications and style triggers I only managed to change the foreground of the single cell I’m currently hovering over.

    Any help wold be much appreciated!

  • Posted 28 November 2017, 1:47 am EST

    Never mind, I got the desired results by defining an additional style for the DataGridCellsPanel.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels