ImageListItem

ListItemReferences
List item for list controls that accept an image (e.g. ListBox)
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 ListControl.ItemTextBinding, ListControl.ItemKeyBinding, and ListBox.ItemImageBinding.

Properties

Image

#
public Image Image { get; set; }
Gets or sets the image for this item.

Key

public string Key { get; set; }
Gets or sets the unique key of the item.
inherited fromListItem
Remarks: The key is typically used to identify each item uniquely. If no key is specified, the ListItem.Text is used as the key.
The key of the item.
Key

Tag

public object Tag { get; set; }
Gets or sets custom data for the item.
inherited fromListItem

Text

public string Text { get; set; }
Gets or sets the text of the item.
inherited fromListItem

Methods