Getting Started with the .NET MAUI BadgeView control
This guide provides the information you need to start using the Telerik UI for .NET MAUI BadgeView by adding the control to your project.
At the end, you will achieve the following result.
Prerequisites
Before adding the BadgeView, you need to:
Define the Control
1. When the your .NET MAUI application is set up, you are ready to add a BadgeView control to your page.
2. Add the following namespace:
3. Set the Content
and BadgeText
properties. Note that the Badge marker (indicator), which is part of the BadgeView, will be visualized only if you set the Content
property of the BadgeView.
4. 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 BadgeView Getting Started scenario, see the SDKBrowser Demo Application and go to BadgeView > Getting Started.