# 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](https://www.telerik.com/winui/documentation/assets/e0cb9982f8e81efffdd68bf4113a9319/barcode_getting_started.png)

## Prerequisites

Before adding the Barcode, you need to:

1. [Set up your WinUI project](https://www.telerik.com/winui/documentation/installation-and-deployment/systemrequirements).

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

   * [Getting Started with NuGet](https://www.telerik.com/winui/documentation/getting-started/first-steps-nuget#step-2-create-the-winui-application)

   * [Getting Started with the MSI file](https://www.telerik.com/winui/documentation/getting-started/first-steps-msi#step-2-create-the-winui-application)

   * [Getting Started with the ZIP file](https://www.telerik.com/winui/documentation/getting-started/first-steps-zip#step-2-create-the-winui-application)

   * [Getting Started with the Telerik UI Visual Studio Extension](https://www.telerik.com/winui/documentation/getting-started/first-steps-vsextension#step-2-create-the-winui-application)

## Add the Assembly References

To use the components from the Barcode suite in your projects, add references to `Telerik.WinUI.Controls.dll` and `Telerik.Licensing.Runtime.dll`.

## Define the Component

The following example demonstrates how to use the [QRCode](https://www.telerik.com/winui/documentation/controls/radbarcode/2d-barcodes/barcode-qrcode-overview) symbology.

#### **Define the Barcode**

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

* [Telerik UI for WinUI Barcode Component](https://www.telerik.com/winui/barcode)
* [Getting Started with Telerik UI for WinUI Components](https://www.telerik.com/winui/documentation/getting-started/first-steps-nuget)
* [Telerik UI for WinUI Installation](https://www.telerik.com/winui/documentation/installation-and-deployment/installing-which-file-do-i-need)
* [Telerik UI for WinUI Examples](https://www.telerik.com/winui/documentation/examples/demos-app)
* [Telerik UI for WinUI Accessibility](https://www.telerik.com/winui/documentation/common/accessibility)
* [Telerik UI for WinUI License Agreement](https://www.telerik.com/purchase/license-agreement/winui)

## See Also

* [1D Supported Barcodes](https://www.telerik.com/winui/documentation/controls/radbarcode/1d-barcodes/1dbarcode-overview)
* [2D Supported Barcodes](https://www.telerik.com/winui/documentation/controls/radbarcode/2d-barcodes/2dbarcode-overview)
