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