Class SpecializedDocumentElementCollection<TInheritor>
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Documents.Model
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public abstract class SpecializedDocumentElementCollection<TInheritor> : ICollection<TInheritor>, IEnumerable<TInheritor>, IList, ICollection, IEnumerable where TInheritor : DocumentElement
Type Parameters
TInheritor
|
Properties
Count
Declaration
public int Count { get; }
Property Value
System.
|
Implements
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.
|
Implements
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<T>. |
Implements
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()
Implements
Contains(TInheritor)
Declaration
public bool Contains(TInheritor item)
Parameters
TInheritor
item
|
Returns
System.
|
Implements
CopyTo(TInheritor[], Int32)
Declaration
public void CopyTo(TInheritor[] array, int arrayIndex)
Parameters
TInheritor[]
array
|
System.
|
Implements
Detach(TInheritor)
Declaration
public bool Detach(TInheritor item)
Parameters
TInheritor
item
|
Returns
System.
|
GetEnumerator()
Declaration
public IEnumerator<TInheritor> GetEnumerator()
Returns
System.
|
Implements
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.
|
Implements
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.
|
Explicit Interface Implementations
ICollection.CopyTo(Array, Int32)
Declaration
void ICollection.CopyTo(Array array, int index)
Parameters
System.
|
System.
|
Implements
ICollection.Count
Declaration
int ICollection.Count { get; }
Returns
System.
|
Implements
ICollection.IsSynchronized
Declaration
bool ICollection.IsSynchronized { get; }
Returns
System.
|
Implements
ICollection.SyncRoot
Declaration
object ICollection.SyncRoot { get; }
Returns
System.
|
Implements
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.
|
Implements
IList.Add(Object)
Declaration
int IList.Add(object value)
Parameters
System.
|
Returns
System.
|
Implements
IList.Clear()
Declaration
void IList.Clear()
Implements
IList.Contains(Object)
Declaration
bool IList.Contains(object value)
Parameters
System.
|
Returns
System.
|
Implements
IList.get_Item(Int32)
Declaration
object IList.get_Item(int index)
Parameters
System.
|
Returns
System.
|
Implements
IList.IndexOf(Object)
Declaration
int IList.IndexOf(object value)
Parameters
System.
|
Returns
System.
|
Implements
IList.Insert(Int32, Object)
Declaration
void IList.Insert(int index, object value)
Parameters
System.
|
System.
|
Implements
IList.IsFixedSize
Declaration
bool IList.IsFixedSize { get; }
Returns
System.
|
Implements
IList.IsReadOnly
Declaration
bool IList.IsReadOnly { get; }
Returns
System.
|
Implements
IList.Item[Int32]
Declaration
object IList.this[] { get; set; }
Parameters
System.
|
Returns
System.
|
Implements
IList.Remove(Object)
Declaration
void IList.Remove(object value)
Parameters
System.
|
Implements
IList.RemoveAt(Int32)
Declaration
void IList.RemoveAt(int index)
Parameters
System.
|
Implements
IList.set_Item(Int32, Object)
Declaration
void IList.set_Item(int index, object value)
Parameters
System.
|
System.
|