Table of Contents

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 XmlElement

The element to find styles for

pseudoElt string

The pseudo-element to find styles for

csd CssCollectedStyleDeclaration

A CssStyleDeclaration that holds the collected styles