Interface ICSSRuleList

Interface ICSSRuleList

Namespace: Aspose.Html.Dom.Css
Assembly: Aspose.HTML.dll (25.2.0)

The CSSRuleList interface provides the abstraction of an ordered collection of CSS rules.

[DOMName("CSSRuleList")]
[ComVisible(true)]
[DOMObject]
public interface ICSSRuleList : IEnumerable<icssrule>, IEnumerable

Implements

IEnumerable<icssrule>, IEnumerable

Properties

Length

The number of CSSRules in the list. The range of valid child rule indices is 0 to length-1 inclusive.

[DOMName("length")]
int Length { get; }

Property Value

int

this[int]

Used to retrieve a CSS rule by method item() (http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRuleList). The order in this collection represents the order of the rules in the CSS style sheet. If index is greater than or equal to the number of rules in the list, this returns null.

[DOMNullable]
[DOMName("item")]
ICSSRule this[int index] { get; }

Property Value

ICSSRule </icssrule>