ClassCollectionBase<T>
Class
Generic base collection for editing model elements; provides validated add, index access, and enumeration.
Definition
Namespace:Telerik.Windows.Documents.Fixed.Model.Editing.Collections
Assembly:Telerik.Windows.Documents.Fixed.dll
Type Parameters:
T
Syntax:
cs-api-definition
public abstract class CollectionBase<T> : IEnumerable
Inheritance: objectCollectionBase<T>
Derived Classes:
Implements:
Properties
Count
Number of items currently in the collection.
Methods
Add(T)
Adds the specified item after validating input.
Declaration
cs-api-definition
public void Add(T item)
Parameters
item
T
The item.
GetEnumerator()
Returns an enumerator to iterate over the items in insertion order.
Declaration
cs-api-definition
public IEnumerator<T> GetEnumerator()
Returns
IEnumerator<T>
A IEnumerator<T> that can be used to iterate through the collection.