System.Web.UI.WebControls.ListItem: Property Members

The properties of System.Web.UI.WebControls.ListItem are listed below. For a list of all members, see the ListItem Members list.

See Also: Inherited members from System.Object

Public Properties

[read-only]
AttributesSystem.Web.UI.AttributeCollection.

Gets a collection of attribute name and value pairs for the System.Web.UI.WebControls.ListItem that are not directly supported by the class.

Enabledbool.

Gets or sets a value indicating whether the list item is enabled.

Selectedbool.

Gets or sets a value indicating whether the item is selected.

Textstring.

Gets or sets the text displayed in a list control for the item represented by the System.Web.UI.WebControls.ListItem.

Valuestring.

Gets or sets the value associated with the System.Web.UI.WebControls.ListItem.