ListItem Class

This is a simple list item object that can be used as part of a collection suitable for binding to a combo box, radio button list, list box, etc.

Definition

Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public class ListItem
Inheritance
Object    ListItem

Constructors

ListItem Constructor.

Properties

Display This returns the display text for the item
Value This returns the value of the item

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode This returns the hash code for the object
(Overrides ObjectGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToString This is overridden to return the display value when the item is converted to a string
(Overrides ObjectToString)

See Also