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.Int32
|
Implements
First
Declaration
public TInheritor First { get; }
Property Value
TInheritor
|
InnerCollection
Declaration
protected DocumentElementCollection InnerCollection { get; }
Property Value
DocumentElementCollection
|
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
System.Boolean
|
Implements
Last
Declaration
public TInheritor Last { get; }
Property Value
TInheritor
|
Methods
Add(TInheritor)
Adds a DocumentElement to the collection.
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.Collections.Generic.IEnumerable<TInheritor>
range
|
Clear()
Declaration
public void Clear()
Implements
Contains(TInheritor)
Declaration
public bool Contains(TInheritor item)
Parameters
TInheritor
item
|
Returns
System.Boolean
|
Implements
CopyTo(TInheritor[], Int32)
Declaration
public void CopyTo(TInheritor[] array, int arrayIndex)
Parameters
TInheritor[]
array
|
System.Int32
arrayIndex
|
Implements
Detach(TInheritor)
Declaration
public bool Detach(TInheritor item)
Parameters
TInheritor
item
|
Returns
System.Boolean
|
GetEnumerator()
Declaration
public IEnumerator<TInheritor> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<TInheritor>
|
Implements
OnCollectionChanged()
Called when the collection is changed. Raises CollectionChanged event.
Declaration
protected virtual void OnCollectionChanged()
OnElementAdded(DocumentElement)
Called when DocumentElement is added.
Declaration
protected virtual void OnElementAdded(DocumentElement element)
Parameters
DocumentElement
element
The element. |
Remove(TInheritor)
Declaration
public bool Remove(TInheritor item)
Parameters
TInheritor
item
|
Returns
System.Boolean
|
Implements
ToArray()
Converts the collection to an array.
Declaration
public TInheritor[] ToArray()
Returns
TInheritor[]
An array of DocumentElements. |
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.EventHandler
|
ElementAdded
Occurs when a DocumentElement is added.
Declaration
public event EventHandler<ElementAddedEventArgs> ElementAdded
Event Type
System.EventHandler<ElementAddedEventArgs>
|
Explicit Interface Implementations
ICollection.CopyTo(Array, Int32)
Declaration
void ICollection.CopyTo(Array array, int index)
Parameters
System.Array
array
|
System.Int32
index
|
Implements
ICollection.Count
Declaration
int ICollection.Count { get; }
Returns
System.Int32
|
Implements
ICollection.IsSynchronized
Declaration
bool ICollection.IsSynchronized { get; }
Returns
System.Boolean
|
Implements
ICollection.SyncRoot
Declaration
object ICollection.SyncRoot { get; }
Returns
System.Object
|
Implements
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator
|
Implements
IList.Add(Object)
Declaration
int IList.Add(object value)
Parameters
System.Object
value
|
Returns
System.Int32
|
Implements
IList.Clear()
Declaration
void IList.Clear()
Implements
IList.Contains(Object)
Declaration
bool IList.Contains(object value)
Parameters
System.Object
value
|
Returns
System.Boolean
|
Implements
IList.get_Item(Int32)
Declaration
object IList.get_Item(int index)
Parameters
System.Int32
index
|
Returns
System.Object
|
Implements
IList.IndexOf(Object)
Declaration
int IList.IndexOf(object value)
Parameters
System.Object
value
|
Returns
System.Int32
|
Implements
IList.Insert(Int32, Object)
Declaration
void IList.Insert(int index, object value)
Parameters
System.Int32
index
|
System.Object
value
|
Implements
IList.IsFixedSize
Declaration
bool IList.IsFixedSize { get; }
Returns
System.Boolean
|
Implements
IList.IsReadOnly
Declaration
bool IList.IsReadOnly { get; }
Returns
System.Boolean
|
Implements
IList.Item[Int32]
Declaration
object IList.this[] { get; set; }
Parameters
System.Int32
index
|
Returns
System.Object
|
Implements
IList.Remove(Object)
Declaration
void IList.Remove(object value)
Parameters
System.Object
value
|
Implements
IList.RemoveAt(Int32)
Declaration
void IList.RemoveAt(int index)
Parameters
System.Int32
index
|
Implements
IList.set_Item(Int32, Object)
Declaration
void IList.set_Item(int index, object value)
Parameters
System.Int32
index
|
System.Object
value
|