AngleSharp by AngleSharp

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

 StyleOptions

public sealed class StyleOptions
Transport object for evaluating stylesheets.
public IBrowsingContext Context { get; }

Gets the current browsing context.

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.

Creates new style options for the given context.