CssGroupingRule Class

https://drafts.csswg.org/cssom/#the-cssgroupingrule-interface

public abstract class CssGroupingRule : CssRule
Inheritance
CssRule CssGroupingRule

Properties

NameDescription
CssRulesGets the list of the child rules of the rule.

CssRules

CSSRules.cs

Gets the list of the child rules of the rule.

public CssRuleList CssRules { get; }

Methods

NameDescription
DeleteRule(uint)Removes the child rule at the given index.
InsertRule(string, uint)Parses a rule and inserts it in the child rules at the given index, and returns the index at which it was inserted.

DeleteRule(uint)

CSSRules.cs

Removes the child rule at the given index.

public void DeleteRule(uint index)

InsertRule(string, uint)

CSSRules.cs

Parses a rule and inserts it in the child rules at the given index, and returns the index at which it was inserted.

public uint InsertRule(string rule, uint index = 0U)