Facebook Pixel Code
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
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The .NET MAUI Accordion control or Accordion Panels offers a vertically collapsible panel with stacked headers, allowing users to expand or collapse one or multiple items simultaneously to display content. This feature-rich control organizes and displays content in an easily accessible way, enhancing user experience by managing information in a compact space.


.NET MAUI Accordion Code Example

Easily get started with the .NET MAUI Accordion using a few simple lines of XAML code example as demonstrated below. Also, explore our .NET MAUI Accordion Example that shows you how to render and configure the .NET MAUI Accordion.

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
           xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
           xmlns:syncfusion="clr-namespace:Syncfusion.Maui.Accordion;assembly=Syncfusion.Maui.Expander"
           x:Class="SfAccordionDemo.MainPage">
   <ContentPage.Content>
      <syncfusion:SfAccordion x:Name="Accordion">
          <syncfusion:SfAccordion.Items>
               <syncfusion:AccordionItem>
                   <syncfusion:AccordionItem.Header>
                       <Grid>
                           <Label Text="Header 1"/>
                       </Grid>
                   </syncfusion:AccordionItem.Header>
                   <syncfusion:AccordionItem.Content>
                       <Grid>
                           <Label Text="Content comes here!"/>
                       </Grid>
                   </syncfusion:AccordionItem.Content>
               </syncfusion:AccordionItem>
               <syncfusion:AccordionItem>
                   <syncfusion:AccordionItem.Header>
                       <Grid>
                           <Label Text="Header 2"/>
                       </Grid>
                   </syncfusion:AccordionItem.Header>
                   <syncfusion:AccordionItem.Content>
                       <Grid>
                           <Label Text="Content comes here!"/>
                       </Grid>
                   </syncfusion:AccordionItem.Content>
               </syncfusion:AccordionItem>
          </syncfusion:SfAccordion.Items>
      </syncfusion:SfAccordion>
   </ContentPage.Content>
</ContentPage>

Data binding

The Accordion control allows the use of .NET MAUI BindableLayout to bind a data collection and populate the control.


Expand and collapse

The Accordion control allows users to interactively and programmatically customize the expand and collapse actions.

Expanded and collapse in .NET MAUI Accordion.


Appearance

The Accordion control features built-in support for customizing the header’s appearance.


Different expand modes

The Accordion control supports single and multiple expansion modes.In single expand mode, only one item can be expanded at a time, while in multiple expand mode, multiple items can be expanded simultaneously.

Single expand mode in .NET MAUI Accordion.

Multiple expand mode in .NET MAUI Accordion.


Animation

Enhances the user experience with animated transitions for item expansion and collapse. The animations can be customized by turning them on or off, adjusting the duration of the expanding and collapsing animations, and modifying the easing style.

Animation effect in .NET MAUI Accordion.


Item spacing

Users can easily adjust the vertical spacing between items within the Accordion control.


Expander icon position

The Accordion provides the flexibility to customize the placement of the header icon in accordion items.

Start icon position in .NET MAUI Accordion.

End icon position in .NET MAUI Accordion.


Auto scroll position

The Accordion control lets you customize the scroll position of the expanded accordion item.


Visual state manager

Modify the appearance of Accordion items according to their expanded and collapsed states by utilizing the visual state manager.

Expanded visual state in .NET MAUI Accordion.




Frequently Asked Questions

The Syncfusion .NET MAUI Accordion support the following features:

  • Easily arrange accordion items vertically.
  • Entirely customize the header and content of accordion items.
  • Expand one or more items with built-in animations.
  • Auto scroll items based on their position.
  • Display a collection of items using BindableLayout.
  • One of the best .NET MAUI Accordion in the market, offering feature-rich UI to interact with the software.
  • Simple configuration and APIs.
  • Mobile-touch friendly.
  • Extensive demos, documentation, and video to let you get started quickly with the .NET MAUI Accordion.

You can find our .NET MAUI Accordion demo, which demonstrates how to render and configure the Accordion.

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.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Syncfusion .NET MAUI Resources

Awards

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.

Up arrow icon