ICSSStyleDeclaration Methods

The ICSSStyleDeclaration type exposes the following members.

Methods
  NameDescription
Public methodGetEnumerator (Inherited from IEnumerableString.)
Public methodGetPropertyCSSValue
Used to retrieve the object representation of the value of a CSS property if it has been explicitly set within this declaration block. This method returns null if the property is a shorthand property. Shorthand property values can only be accessed and modified as strings, using the getPropertyValue and setProperty methods.
Public methodGetPropertyPriority
Used to retrieve the priority of a CSS property (e.g. the "important" qualifier) if the property has been explicitly set in this declaration block.
Public methodGetPropertyValue
Used to retrieve the value of a CSS property if it has been explicitly set within this declaration block.
Public methodRemoveProperty
Used to remove a CSS property if it has been explicitly set within this declaration block.
Public methodSetProperty(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 methodSetProperty(String, String, String)
Used to set a property value and priority within this declaration block.
See Also