# Getting Started with WPF ListBox

This tutorial will walk you through the required steps for using **RadListBox**.

## Adding Telerik Assemblies Using NuGet

To use **RadListBox** when working with NuGet packages, install the `Telerik.Windows.Controls.for.Wpf.Xaml` package. The [package name may vary](https://www.telerik.com/products/wpf/documentation/installation/manual-setup-guides/nuget/available-packages) slightly based on the Telerik dlls set - [Xaml or NoXaml](https://www.telerik.com/products/wpf/documentation/styling-and-appearance/xaml-vs-noxaml)

Read more about NuGet installation in the [Installing UI for WPF from NuGet Package](https://www.telerik.com/products/wpf/documentation/installation/manual-setup-guides/nuget/nuget-installation) article.

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

## Adding Assembly References Manually

If you are not using NuGet packages, you can add a reference to the following assemblies:

* **Telerik.Licensing.Runtime**
* **Telerik.Windows.Controls.dll**

You can include the control in your page by either dragging it from the toolbox in Visual Studio, or manually creating the control. Below is an example of how to create the **RadListBox** control in XAML code:

## Adding RadListBox to the Project

**Example 1: Adding RadListBox**

```XAML
<telerik:RadListBox x:Name="radListBox" Width="200" />
```

## Populating with Items

The control can either be populated by adding **RadListBoxItems** to its **Items** collection, or by its data binding support.

**Example 2: Adding RadListBoxItems**

```XAML
<telerik:RadListBox  Width="200" >
    <telerik:RadListBoxItem Content="Australia" />
    <telerik:RadListBoxItem Content="Brazil" />
    <telerik:RadListBoxItem Content="Canada" />
    <telerik:RadListBoxItem Content="China" />
    <telerik:RadListBoxItem Content="England" />
    <telerik:RadListBoxItem Content="Germany" />
</telerik:RadListBox>
```

#### **\[XAML] Example 3: Binding RadListBox**

```XAML
<telerik:RadListBox  Width="200" 
						ItemsSource="{Binding Items}"/>
```

> More detailed information on how to populate **RadListBox** with some data you can found [here](https://www.telerik.com/products/wpf/documentation/controls/radlistbox/populating-with-data/overview).

## Telerik UI for WPF Learning Resources

* [Telerik UI for WPF ListBox Component](https://www.telerik.com/products/wpf/listbox.aspx)
* [Getting Started with Telerik UI for WPF Components](https://www.telerik.com/products/wpf/documentation/getting-started/first-steps-nuget)
* [Telerik UI for WPF Installation](https://www.telerik.com/products/wpf/documentation/installation/manual-setup-guides/installation-guide)
* [Telerik UI for WPF and WinForms Integration](https://www.telerik.com/products/wpf/documentation/common-information/winforms-integration/overview)
* [Telerik UI for WPF Visual Studio Templates](https://www.telerik.com/products/wpf/documentation/installation/manual-setup-guides/visual-studio-templates)
* [Setting a Theme with Telerik UI for WPF](https://www.telerik.com/products/wpf/documentation/styling-and-appearance/styling-apperance-setting-a-theme-overview)
* [Telerik UI for WPF Virtual Classroom (Training Courses for Registered Users)](https://learn.telerik.com/learn/course/external/view/elearning/16/telerik-ui-for-wpf)
* [Telerik UI for WPF License Agreement](https://www.telerik.com/purchase/license-agreement/wpf-dlw-s)

## See Also

* [Overview](https://www.telerik.com/products/wpf/documentation/controls/radlistbox/overview)
* [Data Binding Support Overview](https://www.telerik.com/products/wpf/documentation/controls/radlistbox/populating-with-data/binding-support-overview)
* [Drag and Drop](https://www.telerik.com/products/wpf/documentation/controls/radlistbox/drag-and-drop/features-dragdrop)
* [Selection](https://www.telerik.com/products/wpf/documentation/controls/radlistbox/features/selection)
* [Auto Complete](https://www.telerik.com/products/wpf/documentation/controls/radlistbox/features/autocomplete)
