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

Adding items

Adding items to RadListView at design time is possible through the Items collection of the control. This collection is accessible by using the Smart Tag or the Items collection property in the property grid.

Figure 1: Items collection in Smart tag

listview-working-with-design-time-adding-items 001

Figure 2: Items collection in Properties section

listview-working-with-design-time-adding-items 002

Both of these will open ListViewDataItem Collection Editor, from where, by clicking the Add button you can add items to the collection. Additionally, on the right hand side, you will see a property grid, where you can change the properties of each item individually.

Figure 3: ListViewDataItem Collection Editor

listview-working-with-design-time-adding-items 003

Here is the result of the described approach:

listview-working-with-design-time-adding-items 004

See Also

In this article