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..
i m facing one problem in my application that in datagridrow’s IsMouseOver= true property
Share
To change
DataGridRowForeground 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 theForegroundcolor to white to make it more visible.XAML:
Code behind:
This is the result:
