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

Getting Started with WinUI Barcode

This guide provides the information you need to start using the Telerik UI for WinUI Barcode by adding the component to your project.

At the end, you will be able to achieve the following result.

WinUI RadBarcode Getting Started Example

Prerequisites

Before adding the Barcode, you need to:

  1. Set up your WinUI project.

  2. Create your Telerik UI for WinUI application and install the Telerik UI for WinUI components depending on the required installation approach:

Add the Assembly References

To use the components from the Barcode suite in your projects, add a references to the Telerik.WinUI.Controls.dll assembly.

Define the Component

The following example demonstrates how to use the QRCode symbology.

Define the Barcode

<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> 

Telerik UI for WinUI Learning Resources

See Also

In this article
Not finding the help you need?