AngleSharp by Florian Rappl

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

.NET API 1,229,312 bytes

 HtmlDetailsElement

Represents the HTML details element.
using AngleSharp.Dom.Css; using AngleSharp.Html; namespace AngleSharp.Dom.Html { internal sealed class HtmlDetailsElement : HtmlElement, IHtmlDetailsElement, IHtmlElement, IElement, INode, IEventTarget, IMarkupFormattable, IParentNode, IChildNode, INonDocumentTypeChildNode, IElementCssInlineStyle { public bool IsOpen { get { return GetOwnAttribute(AttributeNames.Open) != null; } set { SetOwnAttribute(AttributeNames.Open, value ? string.Empty : null); } } public HtmlDetailsElement(Document owner, string prefix = null) : base(owner, Tags.Details, prefix, NodeFlags.Special) { } } }