StackCollection<T>
Represents Stack collection.
Definition
Namespace:Telerik.WinForms.Documents.Utils
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Type Parameters:
T
Syntax:
public class StackCollection<T> : IEnumerable where T : IStackCollectionElement
Inheritance: objectStackCollection<T>
Implements:
Constructors
Initializes a new instance of the StackCollection class.
public StackCollection()
Properties
Gets the number of elements contained in the collection.
public int Count { get; }
The number of elements contained in the collection.
Gets a value indicating whether the ICollection<T> is read-only.
public bool IsReadOnly { get; }
true if the ICollection<T> is read-only; otherwise, false.
Methods
Adds the specified item.
public void Add(T item)
The item.
Adds the first.
public void AddFirst(T element)
The element.
Adds the last.
public void AddLast(T element)
The element.
Removes all items from the ICollection<T>.
Determines whether [contains] [the specified item].
Copies to.
public void CopyTo(T[] array, int arrayIndex)
The array.
arrayIndexintIndex of the array.
Gets the name of the element by.
public T GetElementByName(string elementName)
Name of the element.
Returns:T
Returns an enumerator that iterates through the collection.
public IEnumerator<T> GetEnumerator()
IEnumerator<T>
A IEnumerator<T> that can be used to iterate through the collection.