Getting Started with the .NET MAUI Accordion control
This guide provides the information you need to start using the Telerik UI for .NET MAUI Accordion by adding the control to your project.
At the end, you will be able to achieve the following result.
Prerequisites
Before adding the Accordion, you need to:
Define the Control
When your .NET MAUI application is set up, you are ready to add a Accordion control to your page.
1. Here is the Accordion definition in XAML and C#:
RadAccordion
provides a read only collectionItems
of typeIList<AccordionItem>
.
2. Add the telerik
namespace:
3. Register the Telerik controls through the Telerik.Maui.Controls.Compatibility.UseTelerik
extension method called inside the CreateMauiApp
method of the MauiProgram.cs
file of your project:
For the Accordion Getting Started example refer to the SDKBrowser Demo Application.