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
파일 보기 프로젝트 열기: codebutler/savagesvg

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