28 references to GetContainingNode
PresentationFramework (28)
src\Framework\System\Windows\Documents\TextContainer.cs (6)
649
node = (TextTreeNode)node.
GetContainingNode
();
915
containingNode = textNode.
GetContainingNode
();
1094
UpdateContainerSymbolCount(elementNode.
GetContainingNode
(), /* symbolCount */ elementText == null ? 2 : elementText.Length, deltaCharCount + formerFirstIMEVisibleNodeCharDelta + newFirstIMEVisibleNodeCharDelta);
1209
UpdateContainerSymbolCount(objectNode.
GetContainingNode
(), objectNode.SymbolCount, objectNode.IMECharCount);
2496
tree.UpdateContainerSymbolCount(elementNode.
GetContainingNode
(), elementNode.SymbolCount, elementNode.IMECharCount);
2805
containingNode = elementNode.
GetContainingNode
();
src\Framework\System\Windows\Documents\TextElement.cs (2)
127
startNode = _textElementNode.
GetContainingNode
();
131
endNode = _textElementNode.
GetContainingNode
();
src\Framework\System\Windows\Documents\TextPointer.cs (16)
2236
newNode = _node.
GetContainingNode
();
2283
newNode = _node.
GetContainingNode
();
3100
scopingNode = (TextTreeNode)node.
GetContainingNode
();
3215
newNode = currentNode.
GetContainingNode
();
3239
containingNode = currentNode.
GetContainingNode
();
3262
newNode = newNode.
GetContainingNode
();
3342
containingNode = currentNode.
GetContainingNode
();
3364
newNode = currentNode.
GetContainingNode
();
3431
newNode = newNode.
GetContainingNode
();
3497
Invariant.Assert(node.
GetContainingNode
() != null, "Bad position!"); // Illegal to be at root AfterEnd.
3498
symbolType = (node.
GetContainingNode
() is TextTreeRootNode) ? TextPointerContext.None : TextPointerContext.ElementEnd;
3529
Invariant.Assert(node.
GetContainingNode
() != null, "Bad position!"); // Illegal to be at root BeforeStart.
3530
symbolType = (node.
GetContainingNode
() is TextTreeRootNode) ? TextPointerContext.None : TextPointerContext.ElementStart;
4033
newNode = node.
GetContainingNode
();
4072
newNode = node.
GetContainingNode
();
4119
adjacentNode = (TextTreeNode)node.
GetContainingNode
();
src\Framework\System\Windows\Documents\TextTreeNode.cs (3)
285
containingNode = node.
GetContainingNode
();
315
containingNode = node.
GetContainingNode
();
358
containingNode = node.
GetContainingNode
();
src\Framework\System\Windows\Documents\TextTreeText.cs (1)
415
containerNode = firstNode.
GetContainingNode
();