Click or drag to resize

ListItemCollection Class

A collection of ListItem objects for use with ListControl objects
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionIListItem
    System.Collections.ObjectModelObservableCollectionIListItem
      EtoExtendedObservableCollectionIListItem
        Eto.FormsListItemCollection

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.4.0
Syntax
public class ListItemCollection : ExtendedObservableCollection<IListItem>
Constructors
Methods
  NameDescription
Public methodAdd(String)
Adds a new item to the list with the specified text
Public methodAdd(String, String)
Add a new item to the list with the specified text and key
Top
Remarks
This is used to provide an easy way to add items to a ListControl. It is not mandatory to use this collection, however, since each control can specify bindings to your own model objects using ItemKeyBinding, ItemTextBinding, or other subclass bindings.
See Also