Click or drag to resize

ListItem Class

Represents an item for list controls.
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.4.0
Syntax
[ContentPropertyAttribute("Text")]
public class ListItem : IListItem

The ListItem type exposes the following members.

Constructors
  NameDescription
Public methodListItem
Initializes a new instance of the ListItem class
Top
Properties
  NameDescription
Public propertyKey
Gets or sets the unique key of the item.
Public propertyTag
Gets or sets custom data for the item.
Public propertyText
Gets or sets the text of the item.
Top
Methods
Operators
Remarks
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 use ItemTextBinding and ItemKeyBinding instead.
See Also