1 instantiation of TextTreeRootNode
PresentationFramework (1)
src\Framework\System\Windows\Documents\TextContainer.cs (1)
3193
_rootNode = new
TextTreeRootNode
(this);
19 references to TextTreeRootNode
PresentationFramework (19)
src\Framework\System\Windows\Documents\TextContainer.cs (3)
1341
if (node is
TextTreeRootNode
|| node is TextTreeTextElementNode)
1944
internal
TextTreeRootNode
RootNode
3660
private
TextTreeRootNode
_rootNode;
src\Framework\System\Windows\Documents\TextPointer.cs (13)
596
Invariant.Assert(this.GetScopingNode() is
TextTreeRootNode
);
2667
if (scopingNode is
TextTreeRootNode
)
3199
Invariant.Assert(currentNode is
TextTreeRootNode
, "currentNode is expected to be TextTreeRootNode");
3241
if (!(containingNode is
TextTreeRootNode
))
3263
Invariant.Assert(newNode is
TextTreeRootNode
);
3344
if (!(containingNode is
TextTreeRootNode
))
3392
Invariant.Assert(currentNode is
TextTreeRootNode
, "currentNode is expected to be a TextTreeRootNode");
3432
Invariant.Assert(newNode is
TextTreeRootNode
);
3484
Invariant.Assert(node.ParentNode != null || node is
TextTreeRootNode
, "Inconsistent node.ParentNode");
3498
symbolType = (node.GetContainingNode() is
TextTreeRootNode
) ? TextPointerContext.None : TextPointerContext.ElementEnd;
3530
symbolType = (node.GetContainingNode() is
TextTreeRootNode
) ? TextPointerContext.None : TextPointerContext.ElementStart;
3536
Invariant.Assert(node.ParentNode != null || node is
TextTreeRootNode
, "Inconsistent node.ParentNode");
4178
if (_node is
TextTreeRootNode
)
src\Framework\System\Windows\Documents\TextTreeNode.cs (3)
291
return ((
TextTreeRootNode
)node).TextContainer;
318
parent = ((
TextTreeRootNode
)node).TextContainer.Parent; // This may be null.
361
logicalTreeNode = ((
TextTreeRootNode
)node).TextContainer.Parent;