IViewCSS.GetComputedStyle

GetComputedStyle(Element)

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

public ICSSStyleDeclaration GetComputedStyle(Element element)
ParameterTypeDescription
elementElementThe element whose style is to be computed. This parameter cannot be null.

Return Value

The computed style

See Also


GetComputedStyle(Element, string)

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

public ICSSStyleDeclaration GetComputedStyle(Element element, string pseudoElement)
ParameterTypeDescription
elementElementThe element whose style is to be computed. This parameter cannot be null.
pseudoElementStringThe pseudo element.

Return Value

The computed style

See Also