GetCssStyle Method (DomElement)

Class

DomElement.

Action

Retrieves the computed CSS style with the specified style name.

Syntax

C#
cssStyle = element.GetCssStyle(styleName)
VB
cssStyle = element.GetCssStyle(styleName)
Variable Description
cssStyle String.
styleName The CSS style name, for example 'text-decoration'. String.