# Getting Started with WinForms BarcodeView

This article shows how you can start using RadBarcodeView.

## Adding Telerik Assemblies Using NuGet

To use `RadBarcodeView` when working with NuGet packages, install the `Telerik.UI.for.WinForms.AllControls` package. The [package target framework version may vary](https://www.telerik.com/products/winforms/documentation/visual-studio-integration/available-nugets).

Read more about NuGet installation in the [Install using NuGet Packages](https://www.telerik.com/products/winforms/documentation/installation-and-upgrades/install-using-nuget) article.

> tip With the 2025 Q1 release, the Telerik UI for WinForms has a new licensing mechanism. You can learn more about it [here](https://www.telerik.com/products/winforms/documentation/licensing/license-key).

## Adding Assembly References Manually

When dragging and dropping a control from the Visual Studio (VS) Toolbox onto the Form Designer, VS automatically adds the necessary assemblies. However, if you're adding the control programmatically, you'll need to manually reference the following assemblies:

* **Telerik.Licensing.Runtime**
* **Telerik.WinControls**
* **Telerik.WinControls.UI**
* **TelerikCommon**

The Telerik UI for WinForms assemblies can be installed by using one of the available [installation approaches](https://www.telerik.com/products/winforms/documentation/installation-and-upgrades/installing-on-your-computer).

## Defining the RadBarcodeView

1. To start using **RadBarcodeView** just drag it from the toolbox and drop it at the form.

   ![WinForms RadBarcodeView Design Time](https://www.telerik.com/products/winforms/documentation/assets/8412f518953b5e2b2f91a56d395f1965/barcode-getting-started001.png)

   The default **Symbology** is *QRCode* and the initial value is *12345*.

   ![WinForms RadBarcodeView QRCode Symbology Default](https://www.telerik.com/products/winforms/documentation/assets/efd62f8815e04f7fd75f3c51de215c2e/barcode-getting-started002.png)

2. After choosing the desired **Symbology** you can further adjust its specific settings if available:

   ![WinForms RadBarcodeView Symbology Selection](https://www.telerik.com/products/winforms/documentation/assets/488d55a18c63ed0bf0f91ff499101fea/barcode-getting-started003.png)

3. The value which is encoded is set through the **Value** property.

4. The width (size) of the bar-code elements is auto calculated from the size of the control.

   ![WinForms RadBarcodeView Size](https://www.telerik.com/products/winforms/documentation/assets/8001f5a72eb0c73c8505526e1ddcfbf0/barcode-getting-started004.gif)

5. By default, **RadBarcodeView** uses black color to draw the bar-code elements. You can customize it by the **ForeColor** property.

## Telerik UI for WinForms Learning Resources

* [Telerik UI for WinForms BarcodeView Component](https://www.telerik.com/products/winforms/barcode.aspx)
* [Getting Started with Telerik UI for WinForms Components](https://docs.telerik.com/devtools/winforms/getting-started/first-steps)
* [Telerik UI for WinForms Setup](https://docs.telerik.com/devtools/winforms/installation-and-upgrades/installing-on-your-computer)
* [Telerik UI for WinForms Converter](https://www.telerik.com/products/winforms/documentation/ai-coding-assistant/converter/converter)
* [Telerik UI for WinForms Visual Studio Templates](https://docs.telerik.com/devtools/winforms/visual-studio-integration/visual-studio-templates)
* [Deploy Telerik UI for WinForms Applications](https://docs.telerik.com/devtools/winforms/deployment-and-distribution/application-deployment)
* [Telerik UI for WinForms Virtual Classroom(Training Courses for Registered Users)](https://learn.telerik.com/learn/course/external/view/elearning/17/telerik-ui-for-winforms)
* [Telerik UI for WinForms License Agreement)](https://www.telerik.com/purchase/license-agreement/winforms-dlw-s)
