C# Class SharpVectors.Dom.Css.CssStyleRule

The CSSStyleRule interface represents a single rule set in a CSS style sheet.
Inheritance: CssRule, ICssStyleRule
Afficher le fichier Open project: codebutler/savagesvg Class Usage Examples

Méthodes protégées

Méthode Description
GetStylesForElement ( XmlElement elt, string pseudoElt, MediaList ml, CssCollectedStyleDeclaration csd ) : void

Used to find matching style rules in the cascading order

Private Methods

Méthode Description
CssStyleRule ( Match match, object parent, bool readOnly, string replacedStrings, CssStyleSheetType origin ) : System

The constructor for CssStyleRule

Parse ( string &css, object parent, bool readOnly, string replacedStrings, CssStyleSheetType origin ) : CssRule

Method Details

GetStylesForElement() protected méthode

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 SharpVectors.Dom.Stylesheets.MediaList The medialist that the document is using
csd CssCollectedStyleDeclaration A CssStyleDeclaration that holds the collected styles
Résultat void