i m facing one problem in my application that in datagridrow's IsMouseOver= true property changes background color but i m not able to change foreground.. To check property i have used trigger.. can anyone help me to solve it..
How to change DataGridRow Foreground when IsMouseOver= true?
920 views Asked by AudioBubble At
2
To change
DataGridRow
Foreground color when mouse is over, you have to use style trigger. This is an example of how to do it. In this example I set theForeground
color to white to make it more visible.XAML:
Code behind:
This is the result: