The members of System.Web.UI.WebControls.ListItem are listed below.
See Also: Inherited members from System.Object
ListItem() |
Initializes a new instance of the System.Web.UI.WebControls.ListItem class. | |
Initializes a new instance of the System.Web.UI.WebControls.ListItem class with the specified text data. | ||
Initializes a new instance of the System.Web.UI.WebControls.ListItem class with the specified text and value data. | ||
Initializes a new instance of the System.Web.UI.WebControls.ListItem class with the specified text, value, and enabled data. |
[read-only] | Attributes | System.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. |
Enabled | bool.
Gets or sets a value indicating whether the list item is enabled. | |
Selected | bool.
Gets or sets a value indicating whether the item is selected. | |
Text | string.
Gets or sets the text displayed in a list control for the item represented by the System.Web.UI.WebControls.ListItem. | |
Value | string.
Gets or sets the value associated with the System.Web.UI.WebControls.ListItem. |
override | Equals(object)
| |
static | FromString(string)
| |
override | GetHashCode()
| |
override | ToString()Documentation for this section has not yet been entered. |
System.Web.UI.IParserAccessor.AddParsedSubObject |
Allows the ListItem.Text property to be persisted as inner content. | |
System.Web.UI.IAttributeAccessor.GetAttribute |
Returns the attribute value of the list item control having the specified attribute name. | |
[read-only] | System.Web.UI.IStateManager.IsTrackingViewState | bool.
For a description of this member, see System.Web.UI.IStateManager.IsTrackingViewState. |
System.Web.UI.IStateManager.LoadViewState |
For a description of this member, see System.Web.UI.IStateManager.LoadViewState(object). | |
System.Web.UI.IStateManager.SaveViewState |
For a description of this member, see System.Web.UI.IStateManager.SaveViewState. | |
System.Web.UI.IAttributeAccessor.SetAttribute |
Sets an attribute of the list item control with the specified name and value. | |
System.Web.UI.IStateManager.TrackViewState |
For a description of this member, see System.Web.UI.IStateManager.TrackViewState. |