Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 2.57 KB

getting-started.md

File metadata and controls

58 lines (43 loc) · 2.57 KB
title page_title description slug tags published position
Getting Started
Getting Started - Badge WPF
Check our "Getting Started" documentation article for the RadBadge WPF control.
radbadge-getting-started
getting,started
true
2

Getting Started with {{ site.framework_name }} Badge

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

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]({%slug nuget-available-packages%}) slightly based on the Telerik dlls set - [Xaml or NoXaml]({%slug xaml-vs-noxaml%})

Read more about NuGet installation in the [Installing UI for WPF from NuGet Package]({%slug nuget-installation%}) article.

tip With the 2025 Q1 release, the Telerik UI for WPF has a new licensing mechanism. You can learn more about it [here]({%slug installing-license-key%}).

Adding Assembly References Manually

If you are not using NuGet packages, you can add a reference to the following assemblies:

  • Telerik.Licensing.Runtime
  • Telerik.Windows.Controls

Defining the RadBadge

[C#] Defining RadBage in XAML

{{region radbadge-getting-started-0}} <telerik:RadButton Content="Notifications" VerticalAlignment="Center" HorizontalAlignment="Center"> telerik:RadBadge.Badge <telerik:RadBadge BadgeType="Add" /> </telerik:RadBadge.Badge> </telerik:RadButton> {{endregion}}

Figure 1: RadBadge Example

{{ site.framework_name }} RadBadge RadBadge Example

{% if site.site_name == 'WPF' %}

Telerik UI for WPF Learning Resources

See Also

  • [Key Properties]({%slug radbadge-key-properties%})