27 references to GetPreviousNode
PresentationFramework (27)
src\Framework\System\Windows\Documents\SplayTreeNode.cs (1)
409
leftSubTree = insertBefore ? location.
GetPreviousNode
() : location;
src\Framework\System\Windows\Documents\TextContainer.cs (9)
656
TextTreeTextNode nextTextNode = ((direction == LogicalDirection.Forward) ? node.GetNextNode() : node.
GetPreviousNode
()) as TextTreeTextNode;
869
Invariant.Assert((position.Edge == ElementEdge.AfterEnd && position.Node.
GetPreviousNode
() is TextTreeTextNode && position.Node.
GetPreviousNode
().SymbolCount > 0) ||
2201
Invariant.Assert(textNode.
GetPreviousNode
() == null || textNode.
GetPreviousNode
().SymbolCount > 0, "Found three consecutive zero-width text nodes! (1)");
2220
previousNode = textNode.
GetPreviousNode
();
2650
leftSubTree = startPosition.Node.
GetPreviousNode
();
2704
middleSubTree = rightSubTree.
GetPreviousNode
();
3002
previousNode = (TextTreeNode)elementNode.
GetPreviousNode
();
src\Framework\System\Windows\Documents\TextElement.cs (1)
1491
TextTreeTextElementNode node = _textElementNode.
GetPreviousNode
() as TextTreeTextElementNode;
src\Framework\System\Windows\Documents\TextPointer.cs (10)
614
textNode = ((direction == LogicalDirection.Forward) ? textNode.GetNextNode() : textNode.
GetPreviousNode
()) as TextTreeTextNode;
1816
textNode = ((direction == LogicalDirection.Forward) ? textNode.GetNextNode() : textNode.
GetPreviousNode
()) as TextTreeTextNode;
2227
newNode = _node.
GetPreviousNode
();
2907
sibling = node.
GetPreviousNode
();
3324
newNode = currentNode.
GetPreviousNode
();
3337
endedAdjacentToTextNode = startedAdjacentToTextNode && newNode.
GetPreviousNode
() is TextTreeTextNode;
3353
newNode = currentNode.
GetPreviousNode
();
3380
endedAdjacentToTextNode = startedAdjacentToTextNode && newNode.
GetPreviousNode
() is TextTreeTextNode;
3521
previousNode = (TextTreeNode)node.
GetPreviousNode
();
4029
newNode = node.
GetPreviousNode
();
src\Framework\System\Windows\Documents\TextTreeText.cs (4)
132
lastRemoveBlock = lastBlock.
GetPreviousNode
();
253
TextTreeTextBlock previousBlock = (TextTreeTextBlock)node.
GetPreviousNode
();
285
neighborBlock = (TextTreeTextBlock)rightBlock.
GetPreviousNode
();
403
leftTree = firstNode.
GetPreviousNode
();
src\Framework\System\Windows\Documents\TextTreeTextNode.cs (2)
146
mergeNode = node.
GetPreviousNode
() as TextTreeTextNode;
502
previousNode =
GetPreviousNode
() as TextTreeTextNode;