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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to expand only one item at a time in Xamarin.Forms Accordion (SfAccordion) ?

Thread ID:





144513 May 9,2019 02:29 PM UTC May 9,2019 06:01 PM UTC Xamarin.Forms 1
Tags: SfExpander
Brian Adams
Asked On May 9, 2019 02:29 PM UTC

Hi, I'm using the expander and I can't seem to find a way to only allow one item at a time.  Accodian has ExpandMode="Multiple" but I don't see the equivalent.

Can you explain how to have only one item at a time please?

Thank you,

Sivakumar R [Syncfusion]
Replied On May 9, 2019 06:01 PM UTC

Hi Brian, 
SfAccordion allows you to load multiple accordion items where it provides support for ExpandMode property which decides whether to allow user to expand sing or multiple items. 
But Expander control allows you to load header and collapsible content. If you want to programmatically expand or collapse using IsExpanded property and also you can handle expanding or collapsing of content by using Expanding and Collapsing events. https://help.syncfusion.com/xamarin/sfexpander/getting-started#expand-and-collapse 
Please let us know if you have any queries.  


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon