28 references to GetContainingNode
PresentationFramework (28)
System\Windows\Documents\TextContainer.cs (6)
634
node = (TextTreeNode)node.
GetContainingNode
();
900
containingNode = textNode.
GetContainingNode
();
1079
UpdateContainerSymbolCount(elementNode.
GetContainingNode
(), /* symbolCount */ elementText == null ? 2 : elementText.Length, deltaCharCount + formerFirstIMEVisibleNodeCharDelta + newFirstIMEVisibleNodeCharDelta);
1194
UpdateContainerSymbolCount(objectNode.
GetContainingNode
(), objectNode.SymbolCount, objectNode.IMECharCount);
2481
tree.UpdateContainerSymbolCount(elementNode.
GetContainingNode
(), elementNode.SymbolCount, elementNode.IMECharCount);
2790
containingNode = elementNode.
GetContainingNode
();
System\Windows\Documents\TextElement.cs (2)
122
startNode = _textElementNode.
GetContainingNode
();
126
endNode = _textElementNode.
GetContainingNode
();
System\Windows\Documents\TextPointer.cs (16)
2216
newNode = _node.
GetContainingNode
();
2263
newNode = _node.
GetContainingNode
();
3074
scopingNode = (TextTreeNode)node.
GetContainingNode
();
3189
newNode = currentNode.
GetContainingNode
();
3213
containingNode = currentNode.
GetContainingNode
();
3236
newNode = newNode.
GetContainingNode
();
3316
containingNode = currentNode.
GetContainingNode
();
3338
newNode = currentNode.
GetContainingNode
();
3405
newNode = newNode.
GetContainingNode
();
3471
Invariant.Assert(node.
GetContainingNode
() != null, "Bad position!"); // Illegal to be at root AfterEnd.
3472
symbolType = (node.
GetContainingNode
() is TextTreeRootNode) ? TextPointerContext.None : TextPointerContext.ElementEnd;
3503
Invariant.Assert(node.
GetContainingNode
() != null, "Bad position!"); // Illegal to be at root BeforeStart.
3504
symbolType = (node.
GetContainingNode
() is TextTreeRootNode) ? TextPointerContext.None : TextPointerContext.ElementStart;
4007
newNode = node.
GetContainingNode
();
4046
newNode = node.
GetContainingNode
();
4093
adjacentNode = (TextTreeNode)node.
GetContainingNode
();
System\Windows\Documents\TextTreeNode.cs (3)
279
containingNode = node.
GetContainingNode
();
309
containingNode = node.
GetContainingNode
();
352
containingNode = node.
GetContainingNode
();
System\Windows\Documents\TextTreeText.cs (1)
410
containerNode = firstNode.
GetContainingNode
();