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

SfAccordionItem theme

Hi,

I'd like to change the header background and font color when they are not selected (for the moment, the text is gray, and I can't change that). I suppose the basic theme is using states, but as the theme XAML is encoded (it is a xbf file, not a XAML) I can't have access to the templates so I can't change them.

Is there a way to have the accordion generic.xbf in plain XAML ?

thanks

Cheers

Olivier

3 Replies

SM Sugapriya Mariappan Syncfusion Team September 14, 2015 06:32 AM UTC

Hi Olivier,

Thank you for contacting Syncfusion support

We have prepared a sample which tries to meet your requirement.In this sample we have changed the Header Background and font color in the Expanded and Collapsed State by editing AccordionItem style

Please download the sample from the below link
Sample link:SfAccordionsample

Please let us know if you need any other assistance

Regards,
M.Sugapriya


OM Olivier Matis September 14, 2015 11:42 AM UTC

Thanks, perfect! that is all I need


SM Sugapriya Mariappan Syncfusion Team September 15, 2015 03:35 AM UTC

Hi Olivier,

Thank you for your update

Please let us know if you need any other assistance

Regards,
M.Sugapriya

Loader.
Live Chat Icon For mobile
Up arrow icon