SkinManager VisualStyle "destroys" custom Style of Accordion

I've played a bit with your Accordion Exoander Style as shown here: https://help.syncfusion.com/wpf/accordion/appearence-and-styling
Needed to make a few changes, since it woudn't let me compile, but at the end i had the look and feel like in your sample.

As soon as i use a SkinManager Visualstyle in my app, the style from the accordion is ignored.

see attached sample.
if you remove the VisualStyle from line 7 in MainWindow.xaml, the custom style is shown.
adding the visualstyle again, the default style is used.

thanks,

Helmut



Attachment: AccordionTest_35a2566.zip

5 Replies

ON Olety Nikhilesh Olety Nagendra Syncfusion Team March 23, 2020 07:49 AM UTC

Hi Helmut, 
 
Thank you for contacting Syncfusion support. 
 
When using a SfSkinManager style for the window, the ItemContainerStyle will get overridden, so in order apply your custom style, you need to set the `expanderButtonStyle` to individual item instead of applying the style in ItemContainerStyle. 
Also, we have modified the `expanderButtonStyle` to match up the SfSkinManager style. 
 
Please find the modified sample below. 
 
 
Please let us know if you have any concern. 
 
Regards, 
Nikhilesh 



HW Helmut Wahrmann March 24, 2020 11:00 AM UTC

Hi Nikhilesh,

yes, that solved it.
Maybe it should be put into documentation as well?

thanks,

Helmut


DV Duraimurugan Vedagiri Syncfusion Team March 25, 2020 03:16 PM UTC

Hi Helmut,

Thanks for your update.

We are very pleased that the reported query has been resolved at your end and we have logged the internal bug report to enhance the content of UG documentation and it will be reflected in live by on or before April 8, 2020.

Regards,
Durai


DV Duraimurugan Vedagiri Syncfusion Team April 8, 2020 04:26 PM UTC

Hi Helmut,

Currently we are working to enhance the content of UG documentation and it will be available in our upcoming 2020, vol1 sp1 release.

Regards,
Durai 



DV Duraimurugan Vedagiri Syncfusion Team May 14, 2020 03:07 PM UTC

Hi Helmut,

We deeply regret for the inconvenience caused.

Currently we are working to enhance the content of UG documentation, and it will be available in our upcoming release.

Regards,
Durai 
 


Loader.
Up arrow icon