The Xamarin Accordion View control is a vertical collapsible panel that provides stacked headers which can expand or collapse one or more items at a time to reveal the content associated with it.
The Accordion control enables the use of Xamarin.Forms BindableLayout to bind data collections and fill the accordion.
The Xamarin.Forms Accordion control allows you to customize the expand and collapse actions interactively and programmatically.
Support for different expansion modes to allow for multiple expanded items as well as a single expanded item.
Collapsible panels support animation when expanding or collapsing the accordion item. Animation behavior is customizable.
The Xamarin.Forms accordion control allows the user to customize the vertical spacing between accordion items.
Customize the position of the header icon in an accordion item.
Customize the appearance of accordion items based on their expanded and collapsed states using the visual state manager.
Easily get started with the Xamarin.Forms Accordion using a few simple lines of C# code example as demonstrated below. Also explore our Xamarin.Forms Accordion Example that shows you how to render and configure the Accordion for Xamarin.Forms.
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:GettingStarted"
x:Class="GettingStarted.MainPage"
xmlns:syncfusion="clr-namespace:Syncfusion.XForms.Accordion;assembly=Syncfusion.Expander.XForms">
<ContentPage.Content>
<syncfusion:SfAccordion x:Name="accordion"/>
</ContentPage.Content>
</ContentPage>
using Syncfusion.XForms.Accordion;
using Xamarin.Forms;
namespace GettingStarted
{
public partial class MainPage : ContentPage
{
SfAccordion accordion;
public MainPage()
{
InitializeComponent();
accordion = new SfAccordion();
}
}
}
You can find our Xamarin Accordion demo here.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.