Articles in this section
Category / Section

How to disable the ripple effect in header of .NET MAUI Accordion?

2 mins read

In the .NET MAUI Accordion, you can customize the ripple effects applied when tapping the header by modifying the theme key resources for the Accordion.

XAML
The code snippet below demonstrates how to set the ripple background to transparent in your XAML file.

   <ContentPage.Resources>
       <syncTheme:SyncfusionThemeDictionary>
           <syncTheme:SyncfusionThemeDictionary.MergedDictionaries>
               <ResourceDictionary>
                   <x:String x:Key="SfAccordionTheme">CustomTheme</x:String>
                   <Color x:Key="SfAccordionHeaderRippleBackground">Transparent</Color>
               </ResourceDictionary>
           </syncTheme:SyncfusionThemeDictionary.MergedDictionaries>
       </syncTheme:SyncfusionThemeDictionary>
   </ContentPage.Resources>

Download the complete sample on GitHub.

Conclusion:

I hope you enjoyed learning how to disable the ripple effect in the header of the .NET MAUI Accordion.
You can refer to our .NET MAUI Accordion feature tour page to know about its other groundbreaking feature representations and documentation, and how to quickly get started with configuration specifications.

Check out our components from the License and Downloads page for current customers. If you are new to Syncfusion®, try our 30-day free trial to check out our other controls.

Please let us know in the comments section if you have any queries or require clarification. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied