CSSValue

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; } A string representation of the current value.
CSSValueType { get; } A code defining the type of the value.

Methods

Name Description
override Equals(object) Determines whether the specified Object is equal to this instance.
override GetHashCode() Returns a hash code for this instance.
override GetPlatformType() This method is used to retrieve ECMAScript object Type.
override ToString() Returns a String that represents this instance.
operator == Implements the operator ==.
operator != Implements the operator !=.

Other Members

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