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.
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="https://www.telerik.com/wpf" Height="200" Width="200" x:Name="barcode">
<telerik:RadBarcode.Symbology>
<telerik:QRCode />
</telerik:RadBarcode.Symbology>
</telerik:RadBarcode>