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

Getting Started with WPF Barcode

This article will guide you through the steps needed to add a basic RadBarcode control in your application.

Assembly References

In order to use RadBarcode, you will need to add references to the following assemblies:

  • Telerik.Windows.Controls
  • Telerik.Windows.Controls.DataVisulization
  • Telerik.Windows.Data

You can find the required assemblies for each control from the suite in the Controls Dependencies help article.

Adding Telerik Assemblies Using NuGet

To use RadBarcode when working with NuGet packages, install the Telerik.Windows.Controls.DataVisulization.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 a Barcode

If your app is setup, you are ready to add a RadBarcode control to it. Example 1 demonstrates a QRCode symbology. For more details on the available Barcode symbologies go to the Supported Types topic.

Example 1: Defining a RadBarcode

<telerik:RadBarcode Value=""  Height="200" Width="200" x:Name="barcode"> 
        <telerik:QRCode /> 

Figure 1: Barcode Getting Started

Getting Started Example

Telerik UI for WPF Learning Resources

See Also

In this article