Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Type Parameters:
TInheritor
Syntax:
C#
public abstract class SpecializedDocumentElementCollection<TInheritor> : IList, ICollection, IEnumerable where TInheritor : DocumentElement
Inheritance: objectSpecializedDocumentElementCollection<TInheritor>
Derived Classes:
Implements:
Properties
First
TInheritor
C#
public TInheritor First { get; }
C#
protected DocumentElementCollection InnerCollection { get; }
C#
public bool IsReadOnly { get; }
Last
TInheritor
C#
public TInheritor Last { get; }
Methods
Adds a DocumentElement to the collection.
C#
public void Add(TInheritor item)
The object to add to the ICollection<T>.
C#
public void AddAfter(TInheritor item, TInheritor newItem)
C#
public void AddBefore(TInheritor item, TInheritor newItem)
C#
public void AddRange(IEnumerable<TInheritor> range)
C#
public void Clear()
C#
public IEnumerator<TInheritor> GetEnumerator()
IEnumerator<TInheritor>
Called when the collection is changed. Raises CollectionChanged event.
C#
protected virtual void OnCollectionChanged()
Called when DocumentElement is added.
C#
protected virtual void OnElementAdded(DocumentElement element)
The element.
Converts the collection to an array.
C#
protected virtual void VerifyChildrenOverride(TInheritor item)
Events
Occurs when the collection is changed.
C#
public event EventHandler CollectionChanged
Occurs when a DocumentElement is added.
C#
public event EventHandler<ElementAddedEventArgs> ElementAdded