This documentation is archived and is not being maintained.

ListItem Properties

The properties of the ListItem class are listed here. For a complete list of ListItem class members, see the ListItem Members topic.

Public Properties

public propertyAttributes Gets a collection of attribute name and value pairs for the ListItem that are not directly supported by the class.
public propertySelected Gets or sets a value indicating whether the item is selected.
public propertyText Gets or sets the text displayed in a list control for the item represented by the ListItem.
public propertyValue Gets or sets the value associated with the ListItem.

See Also

ListItem Class | System.Web.UI.WebControls Namespace