We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Can we use a Converter to apply a custom background color to an accordion header?


We'd like to change the background color of the accordion header to indicate the status of the collapsed section.  Please let me know how to do that.

thanks!


1 Reply

SM Sugapriya Mariappan Syncfusion Team June 16, 2016 05:54 AM UTC

Hi Deanna,

Thank you for contacting Syncfusion Support.

We have prepared a sample based on your requirement. In this sample we have changed the Background color of the Accordion header through AccordionButtonStyle where the Expand and Collapse background color are defined using ExpandedBackground and CollapsedBackground keys

Sample:SfAccordionUWPSample

Regards,
M.Sugapriya

Loader.
Live Chat Icon For mobile
Up arrow icon