A newer version of this page is available. Switch to the current version.

BaseImageListBoxControl.Items Property

Provides access to the item collection, when the control is not bound to a data source.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll


public ImageListBoxItemCollection Items { get; }

Property Value

Type Description

An ImageListBoxItemCollection object representing the items collection.


When the control is not bound to a data source, use the Items property to access the control's item collection. You can add, remove and access individual items using index notation. Each item is represented by the ImageListBoxItem object.

To improve the control's performance while performing multiple changes on the item collection, use the ListBoxItemCollection.BeginUpdate/ListBoxItemCollection.EndUpdate methods

When the control is bound to a data source via the BaseListBoxControl.DataSource property, the Items collection is always empty. In this instance, to access particular items, use the BaseListBoxControl.GetItem method.

See Also