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

Getting Started

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

Assembly References

In order to use the RadBarcode suite in your projects, you have to add references to the following assembly:

  • Telerik.WinUI.Controls.dll

Defining a Barcode

If your app is setup, you are ready to add a RadBarcode control to your page. In the sample the QRCode symbology is used, for more details on the available Barcode symbologies go to Supported Types topic.

Example 1: Defining a RadBarcode

<Grid HorizontalAlignment="Center" VerticalAlignment="Center" xmlns:telerikDataViz="using:Telerik.UI.Xaml.Controls.DataVisualization"> 
    <telerikDataViz:RadBarcode Value="https://www.telerik.com/winui"  Height="200" Width="200" x:Name="barcode"> 
        <telerikDataViz:RadBarcode.Symbology> 
            <telerikDataViz:QRCode /> 
        </telerikDataViz:RadBarcode.Symbology> 
    </telerikDataViz:RadBarcode> 
</Grid> 
Here is the result:

Figure 1: Barcode Getting Started

Getting Started Example

See Also

In this article
Not finding the help you need?