CSSValue Class
CSSValue class
Represents a simple or a complex value. A CSSValue object only occurs in a context of a CSS property.
public abstract class CSSValue : DOMObject
Properties
Name | Description |
---|
abstract CSSText { get; set; } | The cssText property of the CSSValue interface represents the current computed CSS property value. |
getCSSValueType A code defining the type of the value. | |
Methods
Fields
Name | Description |
---|
const CSS_CUSTOM | The value is a custom value. |
const CSS_INHERIT | The value is inherited and the cssText contains “inherit”. |
const CSS_PRIMITIVE_VALUE | The value is a primitive value and an instance of the CSSPrimitiveValue interface can be obtained by using binding-specific casting methods on this instance of the CSSValue interface. |
const CSS_VALUE_LIST | The value is a CSSValue list and an instance of the CSSValueList interface can be obtained by using binding-specific casting methods on this instance of the CSSValue interface. |
See Also