C# Класс SharpVectors.Dom.Stylesheets.StyleSheetList

The StyleSheetList interface provides the abstraction of an ordered collection of style sheets. The items in the StyleSheetList are accessible via an integral index, starting from 0.
Наследование: IStyleSheetList
Показать файл Открыть проект

Открытые методы

Метод Описание
AddCssStyleSheet ( CssStyleSheet ss ) : void
GetStylesForElement ( XmlElement elt, string pseudoElt, CssCollectedStyleDeclaration csd ) : void

Used to find matching style rules in the cascading order

this ( ulong index ) : IStyleSheet

Used to retrieve a style sheet by ordinal index. If index is greater than or equal to the number of style sheets in the list, this returns null.

Приватные методы

Метод Описание
GetStylesForElement ( XmlElement elt, string pseudoElt, CssCollectedStyleDeclaration csd, MediaList ml ) : void

Used to find matching style rules in the cascading order

StyleSheetList ( CssXmlDocument document ) : System

Описание методов

AddCssStyleSheet() публичный Метод

public AddCssStyleSheet ( CssStyleSheet ss ) : void
ss SharpVectors.Dom.Css.CssStyleSheet
Результат void

GetStylesForElement() публичный Метод

Used to find matching style rules in the cascading order
public GetStylesForElement ( XmlElement elt, string pseudoElt, CssCollectedStyleDeclaration csd ) : void
elt System.Xml.XmlElement The element to find styles for
pseudoElt string The pseudo-element to find styles for
csd SharpVectors.Dom.Css.CssCollectedStyleDeclaration A CssStyleDeclaration that holds the collected styles
Результат void

this() публичный Метод

Used to retrieve a style sheet by ordinal index. If index is greater than or equal to the number of style sheets in the list, this returns null.
public this ( ulong index ) : IStyleSheet
index ulong
Результат IStyleSheet