AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.16.0-alpha-72" />

.NET API 879,104 bytes

 StyleExtensions

public static class StyleExtensions
A set of extension methods for style / related methods.
public static IStyleSheetList CreateStyleSheets(this INode parent)

Creates a new StyleSheetList instance for the given node.

public static IStringList CreateStyleSheetSets(this INode parent)

Creates a new StringList instance with stylesheet sets for the given node.

public static void EnableStyleSheetSet(this IStyleSheetList sheets, string name)

Sets the enabled style sheet sets in the list of style sheets.

public static IEnumerable<string> GetAllStyleSheetSets(this IStyleSheetList sheets)

Gets all possible style sheet sets from the list of style sheets.

public static IEnumerable<string> GetEnabledStyleSheetSets(this IStyleSheetList sheets)

Gets the enabled style sheet sets from the list of style sheets.

public static IEnumerable<IStyleSheet> GetStyleSheets(this INode parent)

Gets an enumeration over all the stylesheets from the given parent.

public static string LocateNamespace(this IStyleSheetList sheets, string prefix)

Tries to find the matching namespace url for the given prefix.