HtmlOptGroupElement Class

https://html.spec.whatwg.org/multipage/form-elements.html#htmloptgroupelement

public sealed class HtmlOptGroupElement : HtmlElement
Inheritance
HtmlElement HtmlOptGroupElement

Properties

NameDescription
DisabledGets or sets a value indicating whether the element has the disabled content attribute.
LabelGets or sets the value of the label content attribute.

Gets or sets a value indicating whether the element has the disabled content attribute.

public bool Disabled { get; set; }

Gets or sets the value of the label content attribute.

public string Label { get; set; }