Modify Foreground of Selected/Hovered GridViewRow
Environment
Product | RadGridView for WPF |
Description
How to change the Foreground of а GridViewRow that is selected or hovered.
Solution
Add a style targeting GridViewRow with Triggers that check the IsSelected and IsMouseOver properties and change its Foreground.
Example 1 uses the model and viewmodel defined in the Getting Started article of the RadGridView.
Example 1: Custom style targeting
The demonstrated approach may not be relevant for all UI for WPF themes.