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

Getting Started

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

Assembly References

In order to use RadListBox in your project you have to add reference to the Telerik.Windows.Controls assembly.

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

<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

<telerik:RadListBox  Width="200" x:Name="radListBox"> 
    <telerik:RadListBoxItem Content="Australia" /> 
    <telerik:RadListBoxItem Content="Brazil" /> 
    <telerik:RadListBoxItem Content="Canada" /> 
    <telerik:RadListBoxItem Content="China" /> 
    <telerik:RadListBoxItem Content="England" /> 
    <telerik:RadListBoxItem Content="Germany" /> 

Example 3: Binding RadListBox

<telerik:RadListBox x:Name="radListBox" Width="200"  
                    ItemsSource="{Binding Items}"/> 

More detailed information on how to populate RadListBox with some data you can found here.

See Also

In this article
Not finding the help you need? Improve this article