I am using the XamGrid and all I needed to do was change the mouseover color of the header, or even disable the mouseover visual state completely. To do this it seems like I have to copy the entire 400 lines of the igPrim:HeaderCellControl style plus the dozens of colors and brushes plus every other style that the igPrim:HeaderCellControl style references and all the styles and resource all of their children reference. All so that I can comment out 3 lines or specify a transparent color for the mouseover visual state. Is this correct? Is there no way to just override that one specific visual state?
Hello,
Thank you for your post. I have been looking into it and I can say that at the moment the approach you use the only one for setting the hover color because it is controlled by a visual state which uses a StaticResource, but if you want I can log a Product Idea for exposing a BackgroudHover Property for the HeaderCellControl.
Looking forward for your reply.
Yes, it would be nice to be able to simply modify the color rather than comment out the 3 lines of code. I ended up commenting out whole sections of the control template that I was not using simply to prevent me from having to add in other templates such as the ListBoxStyle. Even doing that I had to copy 1135 lines of xaml just to change the mouseover color.
Hello Mike,
I have sent your Product Idea (Background Hover Property) directly to our product management team. Our product team chooses new Product Ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested ideas, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your idea is chosen for development, you will be notified at that time. Your reference number for this Product Idea is PI13020076
If you would like to follow up on your Product Idea at a later point, you may contact Developer Support management via email. Please include the reference number of your Product Idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com