Table of Contents

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 string

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

value string

The 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.