New to Telerik UI for WPF? Download free 30-day trial

Getting Started with WPF Badge

This tutorial will walk you through the creation of a sample application that contains a RadBadge control.

Assembly References

To use RadBadge, add references to the following assemblies:

  • Telerik.Windows.Controls

Adding Telerik Assemblies Using NuGet

To use RadBadge when working with NuGet packages, install the Telerik.Windows.Controls.for.Wpf.Xaml package. The package name may vary slightly based on the Telerik dlls set - Xaml or NoXaml

Read more about NuGet installation in the Installing UI for WPF from NuGet Package article.

Defining the RadBadge

Defining RadBage in XAML

<telerik:RadButton Content="Notifications" VerticalAlignment="Center" HorizontalAlignment="Center"> 
    <telerik:RadBadge.Badge> 
        <telerik:RadBadge BadgeType="Add"  /> 
    </telerik:RadBadge.Badge> 
</telerik:RadButton> 

Figure 1: RadBadge Example

WPF RadBadge RadBadge Example

Telerik UI for WPF Learning Resources

See Also

In this article