SelectListItem Properties

Include Protected Members
Include Inherited Members

The SelectListItem type exposes the following members.

Properties

  Name Description
Public property Selected Gets or sets a value that indicates whether the SelectListItem instance is selected.
Public property Text Gets or sets the text that is used to display the SelectListItem instance on a web page.
Public property Value Gets or sets the value of the HTML value attribute of the HTML option element that is associated with the SelectListItem instance.

Top

See Also

Reference

SelectListItem Class

System.Web.WebPages.Html Namespace