Class CssValue
- Namespace
- SharpVectors.Dom.Css
- Assembly
- SharpVectors.Css.dll
This implements the ICssValue interface, which represents a simple or a complex value. A ICssValue object only occurs in a context of a CSS property.
public class CssValue : ICssValue
- Inheritance
-
CssValue
- Implements
- Derived
- Inherited Members
Constructors
- CssValue()
Only for internal use
- CssValue(CssValueType, string, bool)
Constructor for CssValue
Fields
Properties
- CssText
A string representation of the current value.
- CssValueType
A code defining the type of the value as defined above
- IsAbsolute
Gets a value specifiying whether this CSS value an absolute or variable.
This is an implementation extension, not part of the CSS specification.
Methods
- GetCssValue(string, bool)
Detects what kind of value cssText contains and returns an instance of the correct CssValue class
- ToString()
Returns a string that represents the current object.