{"id":23061630,"url":"https://github.com/syncfusionexamples/xamarin-populate-accordion-items-using-bindable-layout","last_synced_at":"2025-07-10T13:33:29.895Z","repository":{"id":54918037,"uuid":"195190615","full_name":"SyncfusionExamples/Xamarin-Populate-Accordion-Items-using-Bindable-Layout","owner":"SyncfusionExamples","description":"This repository contains the sample which showcases how to populate the accordion items using bindable layout","archived":false,"fork":false,"pushed_at":"2024-02-15T13:45:36.000Z","size":517,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-03T07:18:52.307Z","etag":null,"topics":["accordion","bindable-layout","data-loading","xamarin-forms"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SyncfusionExamples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-04T07:25:52.000Z","updated_at":"2022-11-02T14:22:17.000Z","dependencies_parsed_at":"2024-02-15T14:54:40.313Z","dependency_job_id":null,"html_url":"https://github.com/SyncfusionExamples/Xamarin-Populate-Accordion-Items-using-Bindable-Layout","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SyncfusionExamples/Xamarin-Populate-Accordion-Items-using-Bindable-Layout","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyncfusionExamples%2FXamarin-Populate-Accordion-Items-using-Bindable-Layout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyncfusionExamples%2FXamarin-Populate-Accordion-Items-using-Bindable-Layout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyncfusionExamples%2FXamarin-Populate-Accordion-Items-using-Bindable-Layout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyncfusionExamples%2FXamarin-Populate-Accordion-Items-using-Bindable-Layout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SyncfusionExamples","download_url":"https://codeload.github.com/SyncfusionExamples/Xamarin-Populate-Accordion-Items-using-Bindable-Layout/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SyncfusionExamples%2FXamarin-Populate-Accordion-Items-using-Bindable-Layout/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264585372,"owners_count":23632646,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["accordion","bindable-layout","data-loading","xamarin-forms"],"created_at":"2024-12-16T03:17:58.473Z","updated_at":"2025-07-10T13:33:29.869Z","avatar_url":"https://github.com/SyncfusionExamples.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to populate AccordionItems using Bindable layout?\n\nThe [SfAccordion](https://help.syncfusion.com/cr/cref_files/xamarin/Syncfusion.Expander.XForms~Syncfusion.XForms.Accordion.SfAccordion.html) allows to set a collection of items by setting `BindableLayout.ItemsSource` and `BindableLayout.ItemTemplate` properties. The Accordion supports Bindable Layout in Xamarin.Forms version 3.5 and above.\n\n```xml\n\u003cContentPage xmlns=\"http://xamarin.com/schemas/2014/forms\"\n             xmlns:x=\"http://schemas.microsoft.com/winfx/2009/xaml\"\n             xmlns:syncfusion=\"clr-namespace:Syncfusion.XForms.Accordion;assembly=Syncfusion.Expander.XForms\"\n             xmlns:local=\"clr-namespace:AccordionBindableLayout\"\n             x:Class=\"AccordionBindableLayout.MainPage\"\u003e\n    \u003csyncfusion:SfAccordion x:Name=\"Accordion\" BindableLayout.ItemsSource=\"{Binding Info}\"\u003e\n        \u003cBindableLayout.ItemTemplate\u003e\n            \u003cDataTemplate\u003e\n                \u003csyncfusion:AccordionItem\u003e\n                    \u003csyncfusion:AccordionItem.Header\u003e\n                        \u003cLabel Text=\"{Binding Name}\"/\u003e\n                    \u003c/syncfusion:AccordionItem.Header\u003e\n                    \u003csyncfusion:AccordionItem.Content\u003e\n                        \u003cLabel Text=\"{Binding Description}\"/\u003e\n                    \u003c/syncfusion:AccordionItem.Content\u003e\n                \u003c/syncfusion:AccordionItem\u003e\n            \u003c/DataTemplate\u003e\n        \u003c/BindableLayout.ItemTemplate\u003e\n    \u003c/syncfusion:SfAccordion\u003e \n\u003c/ContentPage\u003e   \n```\n\nYou can also refer our UG documentation to know more about [BindableLayout](https://help.syncfusion.com/xamarin/accordion/bindablelayout).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyncfusionexamples%2Fxamarin-populate-accordion-items-using-bindable-layout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyncfusionexamples%2Fxamarin-populate-accordion-items-using-bindable-layout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyncfusionexamples%2Fxamarin-populate-accordion-items-using-bindable-layout/lists"}