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

Design time

This article demonstrates how to populate RadDropDownList with data at design time. The RadListDataItem Collection Editor allows you to do that.

Figure 1: RadListDataItem Collection Editor

WinForms RadDropDownList RadListDataItem Collection Editor

You can access it through the Smart tag >> Edit Items option:

Figure 2: Smart tag options

WinForms RadDropDownList Smart Tag Options

Another possibility to open the editor is via the Items collection in the Properties Visual Studio section:

Figure 3: Visual Studio Properties window

WinForms RadDropDownList Visual Studio Properties Window

You can add two item types:

  • RadListDataItem – it represents a logical data item which can display specific text and image.You can customize its look through the Properties section on the right side of the item in the RadListDataItem Collection Editor.

Figure 4: Sample RadListDataItem

WinForms RadDropDownList Sample RadListDataItem

Below you can find the properties associated with the RadListDataItem:

Figure 5: RadListDataItem's properties

WinForms RadDropDownList RadListDataItem's Properties

  • DescriptionTextListDataItem – similar to the RadListDataItem. In addition, it displays some description below the item’s text.

Figure 6: Sample DescriptionTextListDataItem

WinForms RadDropDownList Sample DescriptionTextListDataItem

You have two additional properties: DescriptionFont and DescriptionText which specifies the font and the text associated with the item’s description.

Figure 7: DescriptionTextListDataItem's properties

WinForms RadDropDownList DescriptionTextListDataItem's Properties

See Also

In this article