Click or drag to resize

IListItem Interface

Interface for an item in a list control.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
public interface IListItem

The IListItem type exposes the following members.

Public propertyKey
Gets or sets the unique key of the item.
Public propertyText
Gets or sets the text of the item.
If you have a list of your own objects, it is more efficient to use them directly with the list control by passing a collection to the DataStore property, and using TextBinding/KeyBinding to specify how to get/set the Text and Key properties. Otherwise, use ListItem to define items. This may be deprecated in the future.
See Also