ICSSStyleDeclaration Methods |
The ICSSStyleDeclaration type exposes the following members.
Name | Description | |
---|---|---|
![]() | GetEnumerator | (Inherited from IEnumerableString.) |
![]() | GetPropertyCSSValue |
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.
|
![]() | GetPropertyPriority |
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.
|
![]() | GetPropertyValue |
Used to retrieve the value of a CSS property if it has been explicitly set within this declaration block.
|
![]() | RemoveProperty |
Used to remove a CSS property if it has been explicitly set within this declaration block.
|
![]() | 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
|
![]() | SetProperty(String, String, String) |
Used to set a property value and priority within this declaration block.
|