Skip to main content
A newer version of this page is available. .

ListBoxItemCollection Class

Represents the collection of items displayed in the ListBoxControl.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v18.1.dll

Declaration

[ListBindable(false)]
public class ListBoxItemCollection :
    CollectionBase,
    ISupportSearchDataAdapter,
    ISupportSelectionDataAdapter

The following members accept/return ListBoxItemCollection objects:

Remarks

The ListBoxItemCollection class represents the collection of items in the ListBoxControl. Properties and methods can be used to perform common collection operations such as adding new or deleting existing items. Individual items can be accessed using indexer notation. This class also serves as a base for ImageListBoxItemCollection and CheckedListBoxItemCollection classes which correspondingly represent the item collections in the image list box and checked list box controls.

ListBoxItemCollection objects can be accessed using the control’s ListBoxControl.Items property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ListBoxItemCollection class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also