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
695
DefaultStyles throws an error
posted

After adding the DefaultStyles folder to my new WPF project I get the following exceptions thrown.

Error 1 'PieScene' cannot be set as the value of a Trigger's Property attribute because it does not have a public or internal get accessor. Line 103 Position 16. c:\Projects\WPF\WpfApplication2\DefaultStyles\Chart\XamChartDefault.xaml 103 16 WpfApplication2

Error 2 The tag 'ScrollChrome' does not exist in XML namespace 'clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Luna'. Line 245 Position 8. c:\Projects\WPF\WpfApplication2\DefaultStyles\Editors\EditorsGeneric.xaml 245 8 WpfApplication2

 

In my references ive referenced all infragistics assemblies.

 

What am i missing?

 

 

 

 

 


 

Parents
No Data
Reply
  • 138253
    Offline posted

    Hello martinfenech,

    Thank you for your post. I have been looking through it and I didn’t get the first error on my side only the second one, which is caused, because there isn’t an assembly reference to PresentationFramework.Luna, by default, so you can do this manually. I assume you have changed the default style for the XamChart and this is why you get that error. I suggest you copy the original one from the DefaultStyles folder. Please note, we are making efforts to ensure that all forum posts are answered by an Infragistics expert. We believe that the other community users may benefit as well.

    If you have any further questions feel free to ask.

Children
No Data