SelectListItem.Disabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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