SelectListItem Properties

 

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

NameDescription
System_CAPS_pubpropertyDisabled

Gets or sets a value that indicates whether this SelectListItem is disabled.

System_CAPS_pubpropertyGroup

Represents the optgroup HTML element this item is wrapped into. In a select list, multiple groups with the same name are supported. They are compared with reference equality.

System_CAPS_pubpropertySelected

Gets or sets a value that indicates whether this SelectListItem is selected.

System_CAPS_pubpropertyText

Gets or sets the text of the selected item.

System_CAPS_pubpropertyValue

Gets or sets the value of the selected item.

Return to top
Show: