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
585
Remove xamGrid Header Rollover action
posted

I have a xamGrid with a header row. I have set the style of the headers to be a gradient (I don't think this has anything to do with my issue). When I roll the cursor over the header cell it changes to a white to blue gradient. I do not think that I set it this way, it is probably a default behavior. How do I get the header cells to just stay the same color as I roll over them?

Parents
  • 40030
    Offline posted

    Hi, 

    So this is a VisualState of the HeaderCellControl. 

    You can re-template the HeaderCellControl, and remove that VisualState. 

    Here is a helpful tutorial on how to modify a ControlTemplate of one of our controls:

    http://help.infragistics.com/NetAdvantage/Silverlight/2010.3/CLR4.0/?page=SL_DesignersGuide_Editing_Style_Properties_Using_Expression_Blend.html

    If you do not have blend, you can get a copy of the HeaderCellControl by accessing the XamGrid's generic.xaml file:

    http://help.infragistics.com/NetAdvantage/Silverlight/2010.3/CLR4.0/?page=SL_DesignersGuide_Location_of_Generic_xaml_File.html

    Hope this helps, 

    -SteveZ

Reply Children