28 references to GetPreviousNode
PresentationFramework (28)
System\Windows\Documents\SplayTreeNode.cs (1)
409
leftSubTree = insertBefore ? location.
GetPreviousNode
() : location;
System\Windows\Documents\TextContainer.cs (9)
641
TextTreeTextNode nextTextNode = ((direction == LogicalDirection.Forward) ? node.GetNextNode() : node.
GetPreviousNode
()) as TextTreeTextNode;
854
Invariant.Assert((position.Edge == ElementEdge.AfterEnd && position.Node.
GetPreviousNode
() is TextTreeTextNode && position.Node.
GetPreviousNode
().SymbolCount > 0) ||
2186
Invariant.Assert(textNode.
GetPreviousNode
() == null || textNode.
GetPreviousNode
().SymbolCount > 0, "Found three consecutive zero-width text nodes! (1)");
2205
previousNode = textNode.
GetPreviousNode
();
2635
leftSubTree = startPosition.Node.
GetPreviousNode
();
2689
middleSubTree = rightSubTree.
GetPreviousNode
();
2986
previousNode = (TextTreeNode)elementNode.
GetPreviousNode
();
System\Windows\Documents\TextElement.cs (1)
1446
TextTreeTextElementNode node = _textElementNode.
GetPreviousNode
() as TextTreeTextElementNode;
System\Windows\Documents\TextPointer.cs (10)
603
textNode = ((direction == LogicalDirection.Forward) ? textNode.GetNextNode() : textNode.
GetPreviousNode
()) as TextTreeTextNode;
1799
textNode = ((direction == LogicalDirection.Forward) ? textNode.GetNextNode() : textNode.
GetPreviousNode
()) as TextTreeTextNode;
2207
newNode = _node.
GetPreviousNode
();
2881
sibling = node.
GetPreviousNode
();
3298
newNode = currentNode.
GetPreviousNode
();
3311
endedAdjacentToTextNode = startedAdjacentToTextNode && newNode.
GetPreviousNode
() is TextTreeTextNode;
3327
newNode = currentNode.
GetPreviousNode
();
3354
endedAdjacentToTextNode = startedAdjacentToTextNode && newNode.
GetPreviousNode
() is TextTreeTextNode;
3495
previousNode = (TextTreeNode)node.
GetPreviousNode
();
4003
newNode = node.
GetPreviousNode
();
System\Windows\Documents\TextTreeText.cs (4)
127
lastRemoveBlock = lastBlock.
GetPreviousNode
();
248
TextTreeTextBlock previousBlock = (TextTreeTextBlock)node.
GetPreviousNode
();
280
neighborBlock = (TextTreeTextBlock)rightBlock.
GetPreviousNode
();
398
leftTree = firstNode.
GetPreviousNode
();
System\Windows\Documents\TextTreeTextNode.cs (3)
140
mergeNode = node.
GetPreviousNode
() as TextTreeTextNode;
207
previousNode = (TextTreeNode)
GetPreviousNode
();
496
previousNode =
GetPreviousNode
() as TextTreeTextNode;