AngleSharp by AngleSharp

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

 StyleOptions

public sealed class StyleOptions
Transport object for evaluating stylesheets.
public IDocument Document { get; }

Gets the parent document for hosting the style sheet.

public IElement Element { get; set; }

Gets or sets the element that triggered the evaluation.

public bool IsAlternate { get; set; }

Gets or sets if the stylesheet is an alternate.

public bool IsDisabled { get; set; }

Gets or sets if the stylesheet is disabled.

public StyleOptions(IDocument document)

Creates new style options for the given document.