SelectListItem.Text SelectListItem.Text SelectListItem.Text Property

Definition

Gets or sets a value that indicates the display text of this SelectListItem. This property is typically rendered as the inner HTML in the HTML

<option>
element.

public string Text { get; set; }
member this.Text : string with get, set
Public Property Text As String

Property Value

Applies to