Class SpecializedDocumentElementCollection<TInheritor>
Inheritance
Namespace: Telerik.Windows.Documents.Model
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public abstract class SpecializedDocumentElementCollection<TInheritor> : Object, ICollection<TInheritor>, IEnumerable<TInheritor>, IEnumerable, IList, ICollection where TInheritor : DocumentElement
Type Parameters
TInheritor
|
Properties
Count
Declaration
public int Count { get; }
Property Value
System.
|
First
Declaration
public TInheritor First { get; }
Property Value
TInheritor
|
InnerCollection
Declaration
protected DocumentElementCollection InnerCollection { get; }
Property Value
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
System.
|
Last
Declaration
public TInheritor Last { get; }
Property Value
TInheritor
|
Methods
Add(TInheritor)
Adds a Document
Declaration
public void Add(TInheritor item)
Parameters
TInheritor
item
The object to add to the System.Collections.Generic.ICollection<>. |
AddAfter(TInheritor, TInheritor)
Declaration
public void AddAfter(TInheritor item, TInheritor newItem)
Parameters
TInheritor
item
|
TInheritor
newItem
|
AddBefore(TInheritor, TInheritor)
Declaration
public void AddBefore(TInheritor item, TInheritor newItem)
Parameters
TInheritor
item
|
TInheritor
newItem
|
AddRange(IEnumerable<TInheritor>)
Declaration
public void AddRange(IEnumerable<TInheritor> range)
Parameters
System.
|
Clear()
Declaration
public void Clear()
Contains(TInheritor)
Declaration
public bool Contains(TInheritor item)
Parameters
TInheritor
item
|
Returns
System.
|
CopyTo(TInheritor[], Int32)
Declaration
public void CopyTo(TInheritor[] array, int arrayIndex)
Parameters
TInheritor[]
array
|
System.
|
Detach(TInheritor)
Declaration
public bool Detach(TInheritor item)
Parameters
TInheritor
item
|
Returns
System.
|
GetEnumerator()
Declaration
public IEnumerator<TInheritor> GetEnumerator()
Returns
System.
|
OnCollectionChanged()
Called when the collection is changed. Raises CollectionChanged event.
Declaration
protected virtual void OnCollectionChanged()
OnElementAdded(DocumentElement)
Called when Document
Declaration
protected virtual void OnElementAdded(DocumentElement element)
Parameters
Document The element. |
Remove(TInheritor)
Declaration
public bool Remove(TInheritor item)
Parameters
TInheritor
item
|
Returns
System.
|
ToArray()
Converts the collection to an array.
Declaration
public TInheritor[] ToArray()
Returns
TInheritor[]
An array of Document |
VerifyChildrenOverride(TInheritor)
Declaration
protected virtual void VerifyChildrenOverride(TInheritor item)
Parameters
TInheritor
item
|
Events
CollectionChanged
Occurs when the collection is changed.
Declaration
public event EventHandler CollectionChanged
Event Type
System.
|
ElementAdded
Occurs when a Document
Declaration
public event EventHandler<ElementAddedEventArgs> ElementAdded
Event Type
System.
|