CSSValueList class

The CSSValueList interface provides the abstraction of an ordered collection of CSS values.

Note: This interface was part of an attempt to create a typed CSS Object Model. This attempt has been abandoned, and most browsers do not implement it.

public class CSSValueList : CSSValue, ICSSValueList, IEnumerable<CSSValue>


Name Description
CSSValueList() Initializes a new instance of the CSSValueList class.
CSSValueList(params CSSValue[]) Initializes a new instance of the CSSValueList class.
CSSValueList(IEnumerable<CSSValue>) Initializes a new instance of the CSSValueList class.


Name Description
override 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.
Item { get; } The item() method of the CSSValueList interface is used to retrieve a CSSValue by ordinal index.
Length { get; } The length read-only property of the CSSValueList interface represents the number of CSSValues in the list. The range of valid values of the indices is 0 to length-1 inclusive.


Name Description
override Equals(object) Determines whether the specified Object is equal to this instance.
GetEnumerator() Returns an enumerator that iterates through the collection.
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.

See Also