ICSSStyleDeclaration.GetPropertyValue

ICSSStyleDeclaration.GetPropertyValue method

The CSSStyleDeclaration.getPropertyValue() method interface returns a string containing the value of a specified CSS property.

public string GetPropertyValue(string propertyName)
ParameterTypeDescription
propertyNameStringpropertyName is a string representing the property name (hyphen case) to be checked.

Return Value

value is a string containing the value of the property. If not set, returns the empty string.

See Also