Class RadLinkedList<T>
Inheritance
Namespace: Telerik.Windows.Documents.DocumentStructure
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class RadLinkedList<T> : Object, ICollection<T>, IEnumerable<T>, IEnumerable, ICollection
Type Parameters
T
|
Constructors
RadLinkedList()
Declaration
public RadLinkedList()
Properties
Count
Declaration
public int Count { get; }
Property Value
System.Int32
|
First
Gets the first node in the list.
Declaration
public RadLinkedListNode<T> First { get; }
Property Value
RadLinkedListNode<T>
|
IsEmpty
Declaration
public bool IsEmpty { get; }
Property Value
System.Boolean
|
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
System.Boolean
|
Last
Gets the last node in the list.
Declaration
public RadLinkedListNode<T> Last { get; }
Property Value
RadLinkedListNode<T>
|
Methods
Add(T)
Declaration
public void Add(T item)
Parameters
T
item
|
AddAfter(RadLinkedListNode<T>, T)
Declaration
public RadLinkedListNode<T> AddAfter(RadLinkedListNode<T> node, T value)
Parameters
RadLinkedListNode<T>
node
|
T
value
|
Returns
RadLinkedListNode<T>
|
AddAfter(RadLinkedListNode<T>, RadLinkedListNode<T>)
Declaration
public RadLinkedListNode<T> AddAfter(RadLinkedListNode<T> node, RadLinkedListNode<T> newNode)
Parameters
RadLinkedListNode<T>
node
|
RadLinkedListNode<T>
newNode
|
Returns
RadLinkedListNode<T>
|
AddBefore(RadLinkedListNode<T>, T)
Declaration
public RadLinkedListNode<T> AddBefore(RadLinkedListNode<T> node, T value)
Parameters
RadLinkedListNode<T>
node
|
T
value
|
Returns
RadLinkedListNode<T>
|
AddBefore(RadLinkedListNode<T>, RadLinkedListNode<T>)
Declaration
public RadLinkedListNode<T> AddBefore(RadLinkedListNode<T> node, RadLinkedListNode<T> newNode)
Parameters
RadLinkedListNode<T>
node
|
RadLinkedListNode<T>
newNode
|
Returns
RadLinkedListNode<T>
|
AddFirst(T)
Declaration
public RadLinkedListNode<T> AddFirst(T value)
Parameters
T
value
|
Returns
RadLinkedListNode<T>
|
AddFirst(RadLinkedListNode<T>)
Declaration
public RadLinkedListNode<T> AddFirst(RadLinkedListNode<T> node)
Parameters
RadLinkedListNode<T>
node
|
Returns
RadLinkedListNode<T>
|
AddLast(T)
Declaration
public RadLinkedListNode<T> AddLast(T value)
Parameters
T
value
|
Returns
RadLinkedListNode<T>
|
AddLast(RadLinkedListNode<T>)
Declaration
public RadLinkedListNode<T> AddLast(RadLinkedListNode<T> node)
Parameters
RadLinkedListNode<T>
node
|
Returns
RadLinkedListNode<T>
|
AddRangeAfter(RadLinkedListNode<T>, RadLinkedListNode<T>, RadLinkedListNode<T>)
Declaration
public void AddRangeAfter(RadLinkedListNode<T> node, RadLinkedListNode<T> rangeStartNode, RadLinkedListNode<T> rangeEndNode)
Parameters
RadLinkedListNode<T>
node
|
RadLinkedListNode<T>
rangeStartNode
|
RadLinkedListNode<T>
rangeEndNode
|
AddRangeBefore(RadLinkedListNode<T>, RadLinkedListNode<T>, RadLinkedListNode<T>)
Declaration
public void AddRangeBefore(RadLinkedListNode<T> node, RadLinkedListNode<T> rangeStartNode, RadLinkedListNode<T> rangeEndNode)
Parameters
RadLinkedListNode<T>
node
|
RadLinkedListNode<T>
rangeStartNode
|
RadLinkedListNode<T>
rangeEndNode
|
Clear()
Declaration
public void Clear()
Contains(T)
Declaration
public bool Contains(T item)
Parameters
T
item
|
Returns
System.Boolean
|
CopyTo(T[], Int32)
Declaration
public void CopyTo(T[] array, int arrayIndex)
Parameters
T[]
array
|
System.Int32
arrayIndex
|
GetEnumerator()
Declaration
public IEnumerator<T> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<T>
|
MoveNodes(RadLinkedList<T>, RadLinkedListNode<T>)
Declaration
public void MoveNodes(RadLinkedList<T> fromList, RadLinkedListNode<T> fromNode)
Parameters
RadLinkedList<T>
fromList
|
RadLinkedListNode<T>
fromNode
|
MoveNodes(RadLinkedList<T>, RadLinkedListNode<T>, RadLinkedListNode<T>)
Declaration
public void MoveNodes(RadLinkedList<T> fromList, RadLinkedListNode<T> fromNode, RadLinkedListNode<T> toNode)
Parameters
RadLinkedList<T>
fromList
|
RadLinkedListNode<T>
fromNode
|
RadLinkedListNode<T>
toNode
|
Remove(T)
Declaration
public bool Remove(T item)
Parameters
T
item
|
Returns
System.Boolean
|
Remove(RadLinkedListNode<T>)
RemoveFirst()
Declaration
public void RemoveFirst()
RemoveLast()
Declaration
public void RemoveLast()
RemoveRange(RadLinkedListNode<T>, RadLinkedListNode<T>)
Declaration
public void RemoveRange(RadLinkedListNode<T> rangeHead, RadLinkedListNode<T> rangeTail)
Parameters
RadLinkedListNode<T>
rangeHead
|
RadLinkedListNode<T>
rangeTail
|