Design time
This article demonstrates how to populate RadDropDownList with data at design time. The RadListDataItem Collection Editor allows you to do that.
You can access it through the Smart tag >> Edit Items option:
Another possibility to open the editor is via the Items collection in the Properties Visual Studio section:
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.
Below you can find the properties associated with the RadListDataItem:
- DescriptionTextListDataItem – similar to the RadListDataItem. In addition, it displays some description below the item’s text.
You have two additional properties: DescriptionFont and DescriptionText which specifies the font and the text associated with the item’s description.