Class SelectListGroup
Represents the optgroup HTML element and its attributes. In a select list, multiple groups with the same name are supported. They are compared with reference equality.
public class SelectListGroup
- Inheritance
-
SelectListGroup
- Inherited Members
Constructors
SelectListGroup()
public SelectListGroup()
Properties
Disabled
Gets or sets a value that indicates whether this SelectListGroup is disabled.
public bool Disabled { get; set; }
Property Value
Name
Represents the value of the optgroup's label.
public string Name { get; set; }