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

NameDescription
abstract CSSText { get; set; }The cssText property of the CSSValue interface represents the current computed CSS property value.
CSSValueType { get; }A code defining the type of the value.

Methods

NameDescription
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 ==
operator !=

Fields

NameDescription
const CSS_CUSTOMThe value is a custom value.
const CSS_INHERITThe value is inherited and the cssText contains “inherit”.
const CSS_PRIMITIVE_VALUEThe 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_LISTThe 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