A ListItem object represents an individual data item within a list control, such as a CheckBoxList control or a RadioButtonList control. Here is the inheritance hierarchy of this control:
Object ListItem
You can find the notable public properties of ListItem objects in Table 16.6. (This class has no non-inherited methods or events.)
Property |
Means |
---|---|
Selected |
True if the item is selected. |
Text |
Gets/sets the text list item's displayed text. |
Value |
Gets/sets the list item's value. |