Class GradientStopCollection
Represents gradient stop collection.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.ColorSpaces
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class GradientStopCollection : IList<GradientStop>, ICollection<GradientStop>, IEnumerable<GradientStop>, IEnumerable
Constructors
GradientStopCollection()
Initializes a new instance of the Gradient
Declaration
public GradientStopCollection()
Properties
Count
Gets the number of elements contained in the System.Collections.Generic.ICollection<T>.
Declaration
public int Count { get; }
Property Value
System. The number of elements contained in the System.Collections.Generic.ICollection<T>. |
Implements
IsReadOnly
Gets a value indicating whether the System.Collections.Generic.ICollection<T> is read-only.
Declaration
public bool IsReadOnly { get; }
Property Value
System. true if the System.Collections.Generic.ICollection<T> is read-only; otherwise, false. |
Implements
Item[Int32]
Gets or sets the Gradient
Declaration
public GradientStop this[int index] { get; set; }
Parameters
System.
|
Property Value
Implements
Methods
Add(GradientStop)
Adds the specified item.
Declaration
public void Add(GradientStop item)
Parameters
Gradient The item. |
Implements
Clear()
Removes all items from the System.Collections.Generic.ICollection<T>.
Declaration
public void Clear()
Implements
Exceptions
System. The System.Collections.Generic.ICollection<T> is read-only. |
Contains(GradientStop)
Determines whether [contains] [the specified item].
Declaration
public bool Contains(GradientStop item)
Parameters
Gradient The item. |
Returns
System.
|
Implements
CopyTo(GradientStop[], Int32)
Copies to.
Declaration
public void CopyTo(GradientStop[] array, int arrayIndex)
Parameters
Gradient The array. |
System. Index of the array. |
Implements
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<GradientStop> GetEnumerator()
Returns
System. A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection. |
Implements
IndexOf(GradientStop)
Indexes the of.
Declaration
public int IndexOf(GradientStop item)
Parameters
Gradient The item. |
Returns
System.
|
Implements
Insert(Int32, GradientStop)
Inserts the specified index.
Declaration
public void Insert(int index, GradientStop item)
Parameters
System. The index. |
Gradient The item. |
Implements
Remove(GradientStop)
Removes the specified item.
Declaration
public bool Remove(GradientStop item)
Parameters
Gradient The item. |
Returns
System.
|
Implements
RemoveAt(Int32)
Removes the System.Collections.Generic.IList<T> item at the specified index.
Declaration
public void RemoveAt(int index)
Parameters
System. The zero-based index of the item to remove. |
Implements
Exceptions
System.
|
System. The System.Collections.Generic.IList<T> is read-only. |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System. An System. |