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
5124
Styling of XamGrid GroupBy Area
posted

A XamGrid customer recently asked how to style the XamGrid's Group-By Area with a specified background color, along with removing the glassy highlighting.  The sample below shows how to accomplish this by using the default style of the XamGrid. 

 

Parents
No Data
Reply
  • 5124
    posted
    I used Silverlight Spy to discover that the glassy highlighting is coming from a Rectangle object in the Default Style of the XamGrid.  This element is named "glassHighlight".  This element in the Resource Dictionary for the XamGrid installed at (XP) C:\Program Files\Infragistics\NetAdvantage 2010.3\Silverlight\Default Styles\XamGrid\generic.xaml.

    Attached is a sample where I made the height of that rectangle to "0" so to hide the glassy layer. 

    I also set the background color to a hard-coded value of "Blue".
    XG_GroupByArea_Style.zip
Children
No Data