Getting Started with the .NET MAUI Expander
This article will guide you through the steps needed to add a basic RadExpander
control in your application.
At the end, you will achieve the following result.
Prerequisites
Before adding the BadgeView, you need to:
Define the Control
The snippet below shows a simple RadExpander
definition in XAML:
To use the control in XAML, you need to add the following namespace:
The snippet below shows a simple RadExpander
definition in C#:
To use the control in C#, you need to add the following namespace:
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 a runnable example with the Expander Getting Started scenario, see the SDKBrowser Demo Application and go to Expander > Getting Started category.