Method GetStylesForElement
- Namespace
- SharpVectors.Dom.Stylesheets
- Assembly
- SharpVectors.Css.dll
GetStylesForElement(XmlElement, string, CssCollectedStyleDeclaration)
Used to find matching style rules in the cascading order
public void GetStylesForElement(XmlElement elt, string pseudoElt, CssCollectedStyleDeclaration csd)
Parameters
elt
XmlElementThe element to find styles for
pseudoElt
stringThe pseudo-element to find styles for
csd
CssCollectedStyleDeclarationA CssStyleDeclaration that holds the collected styles