Share via


SelectListItem.Disabled Property

Definition

Gets or sets a value that indicates whether this SelectListItem is disabled. This property is typically rendered as a disabled="disabled" attribute in the HTML <option> element.

public:
 property bool Disabled { bool get(); void set(bool value); };
public bool Disabled { get; set; }
member this.Disabled : bool with get, set
Public Property Disabled As Boolean

Property Value

Applies to