# ListItemCollection class

Namespace: [Eto.Forms](https://eto.picoe.ca/api/namespace/eto.forms.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
public class ListItemCollection : ExtendedObservableCollection<IListItem>
```

A collection of [ListItem](https://eto.picoe.ca/api/type/eto.forms.listitem.md) objects for use with [ListControl](https://eto.picoe.ca/api/type/eto.forms.listcontrol.md) objects

**Remarks:** This is used to provide an easy way to add items to a [ListControl](https://eto.picoe.ca/api/type/eto.forms.listcontrol.md). It is not mandatory to use this collection, however, since each control can specify bindings to your own model objects using [ListControl.ItemKeyBinding](https://eto.picoe.ca/api/type/eto.forms.listcontrol/itemkeybinding.md), [ListControl.ItemTextBinding](https://eto.picoe.ca/api/type/eto.forms.listcontrol/itemtextbinding.md), or other subclass bindings.

## Constructors

- [ListItemCollection](https://eto.picoe.ca/api/type/eto.forms.listitemcollection/ctor.md): (2 overloads) Initializes a new instance of the ListItemCollection class.

## Methods

- [Add](https://eto.picoe.ca/api/type/eto.forms.listitemcollection/add.md): (2 overloads) Add a new item to the list with the specified text and key

## Inherited Members

- From [ExtendedObservableCollection<T>](https://eto.picoe.ca/api/type/eto.extendedobservablecollection-1.md): [AddRange](https://eto.picoe.ca/api/type/eto.extendedobservablecollection-1/addrange.md), [Sort](https://eto.picoe.ca/api/type/eto.extendedobservablecollection-1/sort.md)
