28 references to GetPreviousNode
PresentationFramework (28)
System\Windows\Documents\SplayTreeNode.cs (1)
408
leftSubTree = insertBefore ? location.
GetPreviousNode
() : location;
System\Windows\Documents\TextContainer.cs (9)
636
TextTreeTextNode nextTextNode = ((direction == LogicalDirection.Forward) ? node.GetNextNode() : node.
GetPreviousNode
()) as TextTreeTextNode;
849
Invariant.Assert((position.Edge == ElementEdge.AfterEnd && position.Node.
GetPreviousNode
() is TextTreeTextNode && position.Node.
GetPreviousNode
().SymbolCount > 0) ||
2181
Invariant.Assert(textNode.
GetPreviousNode
() == null || textNode.
GetPreviousNode
().SymbolCount > 0, "Found three consecutive zero-width text nodes! (1)");
2200
previousNode = textNode.
GetPreviousNode
();
2630
leftSubTree = startPosition.Node.
GetPreviousNode
();
2684
middleSubTree = rightSubTree.
GetPreviousNode
();
2981
previousNode = (TextTreeNode)elementNode.
GetPreviousNode
();
System\Windows\Documents\TextElement.cs (1)
1445
TextTreeTextElementNode node = _textElementNode.
GetPreviousNode
() as TextTreeTextElementNode;
System\Windows\Documents\TextPointer.cs (10)
598
textNode = ((direction == LogicalDirection.Forward) ? textNode.GetNextNode() : textNode.
GetPreviousNode
()) as TextTreeTextNode;
1794
textNode = ((direction == LogicalDirection.Forward) ? textNode.GetNextNode() : textNode.
GetPreviousNode
()) as TextTreeTextNode;
2202
newNode = _node.
GetPreviousNode
();
2876
sibling = node.
GetPreviousNode
();
3293
newNode = currentNode.
GetPreviousNode
();
3306
endedAdjacentToTextNode = startedAdjacentToTextNode && newNode.
GetPreviousNode
() is TextTreeTextNode;
3322
newNode = currentNode.
GetPreviousNode
();
3349
endedAdjacentToTextNode = startedAdjacentToTextNode && newNode.
GetPreviousNode
() is TextTreeTextNode;
3490
previousNode = (TextTreeNode)node.
GetPreviousNode
();
3998
newNode = node.
GetPreviousNode
();
System\Windows\Documents\TextTreeText.cs (4)
125
lastRemoveBlock = lastBlock.
GetPreviousNode
();
246
TextTreeTextBlock previousBlock = (TextTreeTextBlock)node.
GetPreviousNode
();
278
neighborBlock = (TextTreeTextBlock)rightBlock.
GetPreviousNode
();
396
leftTree = firstNode.
GetPreviousNode
();
System\Windows\Documents\TextTreeTextNode.cs (3)
139
mergeNode = node.
GetPreviousNode
() as TextTreeTextNode;
206
previousNode = (TextTreeNode)
GetPreviousNode
();
495
previousNode =
GetPreviousNode
() as TextTreeTextNode;