Interface ICSSRuleList

Interface ICSSRuleList

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

واجهة CSSRuleList توفر تجريد لمجموعة مرتبة من قواعد CSS.

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

Implements

IEnumerable<icssrule>, IEnumerable

Properties

Length

عدد CSSRules في القائمة. نطاق مؤشرات القواعد الفرعية الصالحة هو من 0 إلى length-1 شامل.

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

Property Value

int

this[int]

يستخدم لاسترجاع قاعدة CSS بواسطة الطريقة item() (http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSRuleList). الترتيب في هذه المجموعة يمثل ترتيب القواعد في ورقة أنماط CSS. إذا كان الفهرس أكبر من أو يساوي عدد القواعد في القائمة، فإن هذا يعيد null.

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

Property Value

ICSSRule

 عربي