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

Getting Started

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

Assembly References

In order to use RadMultiColumnComboBox in your application, you need to add references to the following assemblies:

  • Telerik.Windows.Controls
  • Telerik.Windows.Controls.GridView
  • Telerik.Windows.Controls.Input
  • Telerik.Windows.Data

Adding RadMultiColumnComboBox to the Project

Example 1: Defining RadMultiColumnComboBox Declaratively

<telerik:RadMultiColumnComboBox VerticalAlignment="Top"> 

Figure 1: Defining RadMultiColumnComboBox


Note, that such definition would simply result in having an AutoComplete box. In order to have the actual RadGridView populated as a Content of the DropDown the GridViewItemsSourceProvider needs to be set as an ItemsSourceProvider. Note, that the DisplayMemberPath property of RadMultiColumnComboBox is also set. Its purpose is to point to a property of the bound data item present in the source collection of the ItemsSourceProvider. Thus, the control will be aware what value to display in the AutoCompleteBox. If not set, the control would simply call the ToString method of the bound item.

Example 2: Setting the GridViewItemsSourceProvider

 <telerik:RadMultiColumnComboBox VerticalAlignment="Top" DisplayMemberPath="Name"> 
            <telerik:GridViewItemsSourceProvider ItemsSource="{Binding Clubs}" /> 
This definition will have the following output.

Figure 2: Setting the GridViewItemsSourceProvider


See Also

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