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 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.

Properties

Key

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