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

The StyleSheet interface is the abstract base interface for any type of style sheet. It represents a single style sheet associated with a structured document. In HTML, the StyleSheet interface represents either an external style sheet, included via the HTML LINK element, or an inline STYLE element. In XML, this interface represents an external style sheet, included via a style sheet processing instruction.
Наследование: IStyleSheet
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
LoadSheet void
ResolveOwnerNode System.Xml.XmlNode
StyleSheet System
StyleSheet System
StyleSheet System
StyleSheet System

Защищенные методы

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

Used to find matching style rules in the cascading order

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

Метод Описание
LoadSheet ( ) : void
ResolveOwnerNode ( ) : XmlNode
StyleSheet ( ) : System
StyleSheet ( XmlElement styleElement ) : System
StyleSheet ( XmlNode ownerNode, string href, string type, string title, string media ) : System
StyleSheet ( XmlProcessingInstruction pi ) : System

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

GetStylesForElement() защищенный Метод

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