Table of Contents

Method GetPropertyCssValue

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

GetPropertyCssValue(string)

Used to retrieve the object representation of the value of a CSS property if it has been explicitly set within this declaration block. This method returns null if the property is a shorthand property. Shorthand property values can only be accessed and modified as strings, using the GetPropertyValue(string) and SetProperty(string, string, string) methods.

ICssValue GetPropertyCssValue(string propertyName)

Parameters

propertyName string

The name of the CSS property. See the CSS property index.

Returns

ICssValue

Returns the value of the property if it has been explicitly set for this declaration block. Returns null if the property has not been set.