Back to Devexpress

ListBoxItemCollection Class

windowsforms-devexpress-dot-xtraeditors-dot-controls-1fdfb2a4.md

latest2.5 KB
Original Source

ListBoxItemCollection Class

Represents the collection of items displayed in the ListBoxControl.

Namespace : DevExpress.XtraEditors.Controls

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[ListBindable(false)]
public class ListBoxItemCollection :
    CollectionBase
vb
<ListBindable(False)>
Public Class ListBoxItemCollection
    Inherits CollectionBase

The following members 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.

Inheritance

Object CollectionBase ListBoxItemCollection CheckedListBoxItemCollection

ImageListBoxItemCollection

See Also

ListBoxItemCollection Members

ImageListBoxItemCollection

Items

DevExpress.XtraEditors.Controls Namespace