I want a specific column in my xamDataGrid to be blue, so I am using a Style with TargetType CellValuePresenter. I have Style.Triggers and DataTrigger to set the background property to be blue if FieldName is the one I want.
The above works fine.
However, when the user hovers over any row, all other columns in this row change color but not the one set above.
How do I ensure that even this colored column changed color?
Thanks.
Hello Jay,
Thank you for your post. I have been looking into it. After further research I can suggest to change the places of the BackgroundHover property and the Background properties in the CellValuePresenter style. I have created a small sample application for your reference. Please find the attached application and feel free to let me know if you have any further questions on the matter.
I am just checking your progress on the issue. Please do not hesitate to let me know if you have any further questions on the matter.
I have modified the sample application for Visual Studio 2010. Please find the attached application and feel free to let me know if you have any further questions on the matter.
I need to look at the attached example, Unfortunately, I have VS10.0 so I need to upgrade to 12.0 to view it. However, I looked at the XAML and I think, it should work. Thanks.