AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.8.0" />

.NET API 1,171,968 bytes

 HtmlOptionsGroupElement

Represents the HTML optgroup element.
using AngleSharp.Dom.Css; using AngleSharp.Html; namespace AngleSharp.Dom.Html { internal sealed class HtmlOptionsGroupElement : HtmlElement, IHtmlOptionsGroupElement, IHtmlElement, IElement, INode, IEventTarget, IParentNode, IChildNode, INonDocumentTypeChildNode, IElementCssInlineStyle { public string Label { get { return GetAttribute(AttributeNames.Label); } set { SetAttribute(AttributeNames.Label, value); } } public bool IsDisabled { get { return GetAttribute(AttributeNames.Disabled) != null; } set { SetAttribute(AttributeNames.Disabled, value ? string.Empty : null); } } public HtmlOptionsGroupElement(Document owner) : base(owner, Tags.Optgroup, NodeFlags.ImplicitelyClosed | NodeFlags.ImpliedEnd | NodeFlags.HtmlSelectScoped) { } } }