Method GetPropertyValue
- Namespace
- SharpVectors.Dom.Css
- Assembly
- SharpVectors.Core.dll
GetPropertyValue(string)
Used to retrieve the value of a CSS property if it has been explicitly set within this declaration block.
string GetPropertyValue(string propertyName)
Parameters
propertyName
stringThe name of the CSS property. See the CSS property index.
Returns
- string
Returns the value of the property if it has been explicitly set for this declaration block. Returns the empty string if the property has not been set.
GetPropertyValue(string[])
Used to retrieve the value of a CSS property if it has been explicitly set within this declaration block.
string GetPropertyValue(string[] propertyNames)
Parameters
propertyNames
string[]The name of the CSS property. See the CSS property index.
Returns
- string
Returns the value of the property if it has been explicitly set for this declaration block. Returns the empty string if the property has not been set.