Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3590
Proper way to modify small portion of default style?
posted

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?

Parents
No Data
Reply
  • 138253
    Offline posted

    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.

Children