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
545
Setting GroupByAreaMultiBackgroundBrush and GroupByAreaMultiHighlightBrush does not work anymore
posted

For years the following has worked fine for overriding the GroupAreaMulti background.

  <igWPF:XamDataGrid.Resources>
    <SolidColorBrush x:Key="{x:Static igWPF:DataPresenterBrushKeys.GroupByAreaMultiBackgroundBrush}" Color="#A3A3A3"/>
    <SolidColorBrush x:Key="{x:Static igWPF:DataPresenterBrushKeys.GroupByAreaMultiHighlightBrush}" Color="Transparent"/>
  </igWPF:XamDataGrid.Resources>

However, after changing to Vistual Studio 2015 and the Roslyn compiler it does not work anymore. Our product i a plug-in to another large 3rd party system which also has changed major versions at the same time. I thought setting these inside the Resources of the XamDataGrid would override any Themes or Styles which may have been defined?

We are using Infragisitcs v12.2 by the way.

Sincerely

Atle

Parents
  • 1935
    posted

    Hello Atle Rudshaug,

    I have tried to add the resources in XamDataGrid in a simple sample in Visual Studio 2015 and the GroupAreaMulti background is overriden. 

    Could you please run the attached sample and see if it's reproducible on your environment. If it's not reproducible, it would be good if you can attach a sample reproducing the behavior.

    Please let me know if you have any other questions on this matter.

    XamDataGrid_OverrideGroupByAreaMultiStyle.zip
Reply Children