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