CSSValue Class
Represents a simple or a complex value. A CSSValue object only occurs in a context of a CSS property.
Inheritance Hierarchy
SystemObject
  Aspose.Html.DomDOMObject
    Aspose.Html.Dom.CssCSSValue
      Aspose.Html.Dom.CssCSSPrimitiveValue
      Aspose.Html.Dom.CssCSSValueList

Namespace: Aspose.Html.Dom.Css
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 21.9
Syntax
public abstract class CSSValue : DOMObject

The CSSValue type exposes the following members.

Constructors
  NameDescription
Protected methodCSSValue
Initializes a new instance of the CSSValue class.
Properties
  NameDescription
Public propertyCSSText
A string representation of the current value.
Public propertyCSSValueType
A code defining the type of the value.
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object).)
Protected methodEquals(CSSValue)
Determines whether the specified object is equal to this instance.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetPlatformType
This method is used to retrieve ECMAScript object Type.
(Overrides DOMObjectGetPlatformType.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Operators
  NameDescription
Public operatorStatic memberEquality
Implements the operator ==.
Public operatorStatic memberInequality
Implements the operator !=.
Fields
  NameDescription
Public fieldStatic memberCSS_CUSTOM
The value is a custom value.
Public fieldStatic memberCSS_INHERIT
The value is inherited and the cssText contains "inherit".
Public fieldStatic memberCSS_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.
Public fieldStatic memberCSS_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