AngleSharp by AngleSharp

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

.NET API 1,218,560 bytes

 HtmlOptionsGroupElement

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