ICSSStyleDeclaration.SetProperty

SetProperty(string, string)

Used to set a property value with default priority within this declaration block. Default priority is not “important” i.e. String.Empty

public void SetProperty(string propertyName, string value)
ParameterTypeDescription
propertyNameStringName of the property.
valueStringThe value.

See Also


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)
ParameterTypeDescription
propertyNameStringName of the property.
valueStringThe value.
priorityStringThe priority.

See Also