Table of Contents

Method GetComputedStyle

Namespace
SharpVectors.Dom.Css
Assembly
SharpVectors.Css.dll

GetComputedStyle(XmlElement, string)

This method is used to get the computed style as it is defined in [CSS2].

public ICssStyleDeclaration GetComputedStyle(XmlElement elt, string pseudoElt)

Parameters

elt XmlElement

The element whose style is to be computed. This parameter cannot be null.

pseudoElt string

The pseudo-element or null if none.

Returns

ICssStyleDeclaration

The computed style. The CSSStyleDeclaration is read-only and contains only absolute values.