Method SetProperty
- Namespace
- SharpVectors.Dom.Css
- Assembly
- SharpVectors.Css.dll
SetProperty(string, string, string)
Used to set a property value and priority within this declaration block
public void SetProperty(string propertyName, string value, string priority)
Parameters
propertyNamestringThe name of the CSS property. See the CSS property index.
valuestringThe new value of the property.
prioritystringThe new priority of the property (e.g. "important").
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.