ICSSValueList.Item

ICSSValueList indexer

This method is used to retrieve a CSSValue by ordinal index. The order in this collection represents the order of the values in the CSS style property. If index is greater than or equal to the number of values in the list, this returns null.

See also the CSSOM#CSSValueList.

public CSSValue this[int index] { get; }

Return Value

The CSSValue at the index position in the CSSValueList, or null if that is not a valid index.

Property Value

The index into the collection.

Remarks

This feature was originally defined in the DOM Style Level 2 specification, but has been dropped from any standardization effort since then.

It has been superseded by a modern, but incompatible, CSS Typed Object Model API that is now on the standard track.

See Also