Class CSSValueList
Namespace: Aspose.Html.Dom.Css
Assembly: Aspose.HTML.dll (25.2.0)
The CSSValueList interface provides the abstraction of an ordered collection of CSS values.
[ComVisible(true)]
public class CSSValueList : CSSValue, INotifyPropertyChanged, IEnumerable<cssvalue>, IEnumerable, ICSSValueList
Inheritance
object ← DOMObject ← CSSValue ← CSSValueList
Implements
INotifyPropertyChanged, IEnumerable<cssvalue>, IEnumerable, ICSSValueList
Inherited Members
CSSValue.CSS_INHERIT, CSSValue.CSS_PRIMITIVE_VALUE, CSSValue.CSS_VALUE_LIST, CSSValue.CSS_CUSTOM, CSSValue.ToString(), CSSValue.GetPlatformType(), CSSValue.Equals(CSSValue), CSSValue.Equals(object), CSSValue.GetHashCode(), CSSValue.CSSText, CSSValue.CSSValueType, DOMObject.GetPlatformType(), object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
CSSValueList()
Initializes a new instance of the Aspose.Html.Dom.Css.CSSValueList class.
public CSSValueList()
CSSValueList(IEnumerable<cssvalue>)
Initializes a new instance of the Aspose.Html.Dom.Css.CSSValueList class.
public CSSValueList(IEnumerable<cssvalue> values)
Parameters
values
IEnumerable<CSSValue>
The values.
CSSValueList(params CSSValue[])
Initializes a new instance of the Aspose.Html.Dom.Css.CSSValueList class.
public CSSValueList(params CSSValue[] values)
Parameters
values
CSSValue[]
The values.
Properties
CSSText
A string representation of the current value.
public override string CSSText { get; set; }
Property Value
Length
The number of CSSValues in the list.
public int Length { get; }
Property Value
this[int]
Gets the Aspose.Html.Dom.Css.CSSValue at the specified index.
public CSSValue this[int index] { get; }
Property Value
Methods
Equals(CSSValue)
Determines whether the specified object is equal to this instance.
protected override bool Equals(CSSValue obj)
Parameters
obj
CSSValue
The object to compare with this instance.
Returns
true
if the specified Aspose.Html.Dom.Css.CSSValue is equal to this instance; otherwise, false
.
GetEnumerator()
Returns an enumerator that iterates through the collection.
public IEnumerator<cssvalue> GetEnumerator()
Returns
IEnumerator<CSSValue>
A System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.
GetPlatformType()
This method is used to retrieve ECMAScript object System.Type.
public override Type GetPlatformType()
Returns
The ECMAScript object System.Type. </cssvalue></cssvalue>