$npx -y skills add syncfusion/maui-ui-components-skills --skill syncfusion-maui-accordionImplements Syncfusion .NET MAUI Accordion (SfAccordion) - a vertically collapsible panel with stacked headers for expanding/collapsing content. Use when working with accordions, collapsible panels, expandable lists, employee lists with details, or FAQ sections in .NET MAUI applic
| 1 | # Implementing Syncfusion .NET MAUI Accordion |
| 2 | |
| 3 | A comprehensive guide for implementing the Syncfusion .NET MAUI Accordion (SfAccordion) - a vertically collapsible panel control that allows users to expand or collapse one or multiple items simultaneously. |
| 4 | |
| 5 | ## When to Use This Skill |
| 6 | |
| 7 | Use this skill when you need to: |
| 8 | - Implement collapsible/expandable content sections in .NET MAUI |
| 9 | - Display employee directories, contact lists, or detailed records |
| 10 | - Create FAQ sections with expandable answers |
| 11 | - Build settings panels with grouped options |
| 12 | - Show hierarchical data with expand/collapse behavior |
| 13 | - Implement vertical expander panels |
| 14 | - Bind accordion items to ObservableCollection data sources |
| 15 | - Customize accordion appearance with themes and Visual States |
| 16 | - Handle expansion/collapse events with validation |
| 17 | |
| 18 | ## Component Overview |
| 19 | |
| 20 | The .NET MAUI Accordion provides a vertically stacked interface where each item consists of a header and content section. Users can tap headers to expand/collapse content, making it ideal for displaying hierarchical information, FAQs, employee directories, or any scenario requiring space-efficient grouped content display. |
| 21 | |
| 22 | - Single or multiple item expansion modes |
| 23 | - Data binding with .NET MAUI BindableLayout |
| 24 | - Customizable animations (duration and easing) |
| 25 | - Rich appearance customization (colors, icons, Visual States) |
| 26 | - Event handling for expand/collapse actions |
| 27 | - Liquid Glass Effect support (iOS 26+, macOS 26+) |
| 28 | - Programmatic scroll control |
| 29 | |
| 30 | ## Documentation and Navigation Guide |
| 31 | |
| 32 | ### Getting Started |
| 33 | 📄 **Read:** [references/getting-started.md](references/getting-started.md) |
| 34 | - Installation of Syncfusion.Maui.Expander NuGet package |
| 35 | - Handler registration with ConfigureSyncfusionCore() |
| 36 | - Basic SfAccordion setup in XAML and C# |
| 37 | - Creating AccordionItem with Header and Content |
| 38 | - Expand modes: Single, Multiple, MultipleOrNone |
| 39 | - Animation duration and easing customization |
| 40 | - Item spacing configuration |
| 41 | - Auto scroll position settings |
| 42 | - BringIntoView method for programmatic scrolling |
| 43 | |
| 44 | ### Data Binding with BindableLayout |
| 45 | 📄 **Read:** [references/data-binding.md](references/data-binding.md) |
| 46 | - Creating data models with INotifyPropertyChanged |
| 47 | - Setting up ObservableCollection for accordion items |
| 48 | - Configuring BindingContext |
| 49 | - Using BindableLayout.ItemsSource for data binding |
| 50 | - Defining BindableLayout.ItemTemplate for item appearance |
| 51 | - Two-way binding with IsExpanded property |
| 52 | - Dynamic item generation from collections |
| 53 | - Complete employee list example with data binding |
| 54 | |
| 55 | ### Appearance Customization |
| 56 | 📄 **Read:** [references/appearance-customization.md](references/appearance-customization.md) |
| 57 | - Header icon position (Start, End) |
| 58 | - Header background color customization |
| 59 | - Icon color customization |
| 60 | - Visual State Manager for state-based styling |
| 61 | - Expanded and Collapsed states |
| 62 | - Focused state for keyboard navigation |
| 63 | - PointerOver state for hover effects |
| 64 | - Normal state styling |
| 65 | - Complete Visual State styling examples |
| 66 | |
| 67 | ### Events and Interaction |
| 68 | 📄 **Read:** [references/events.md](references/events.md) |
| 69 | - Expanding event (cancellable) |
| 70 | - Expanded event (completion notification) |
| 71 | - Collapsing event (cancellable) |
| 72 | - Collapsed event (completion notification) |
| 73 | - Event arguments: Cancel and Index properties |
| 74 | - Validation before expand/collapse |
| 75 | - Common event handling patterns |
| 76 | |
| 77 | ### Advanced Features |
| 78 | 📄 **Read:** [references/advanced-features.md](references/advanced-features.md) |
| 79 | - Auto scroll position (Top, MakeVisible) |
| 80 | - BringIntoView for programmatic scrolling |
| 81 | - Liquid Glass Effect integration |
| 82 | - Wrapping SfAccordion inside SfGlassEffectView |
| 83 | - EnableLiquidGlassEffect property |
| 84 | - Transparent background setup |
| 85 | - Platform requirements (iOS 26+, macOS 26+) |
| 86 | - Grid layout considerations with Height=Auto |
| 87 | - HorizontalOptions and VerticalOptions best practices |