Method SetPropertyValue
- Namespace
- SharpVectors.Dom.Css
- Assembly
- SharpVectors.Css.dll
SetPropertyValue(string, string)
Used to set a property value and priority within this declaration block
public void SetPropertyValue(string propertyName, string value)
Parameters
propertyName
stringThe name of the CSS property. See the CSS property index.
value
stringThe new value of the property.
Exceptions
- DomException
SYNTAX_ERR:
Raised if the specified value has a syntax error and is unparsable.- DomException
NO_MODIFICATION_ALLOWED_ERR:
Raised if this declaration is readonly or the property is readonly.