1 instantiation of TextTreeRootNode
PresentationFramework (1)
System\Windows\Documents\TextContainer.cs (1)
3177
_rootNode = new
TextTreeRootNode
(this);
21 references to TextTreeRootNode
PresentationFramework (21)
System\Windows\Documents\TextContainer.cs (3)
1326
if (node is
TextTreeRootNode
|| node is TextTreeTextElementNode)
1929
internal
TextTreeRootNode
RootNode
3644
private
TextTreeRootNode
_rootNode;
System\Windows\Documents\TextPointer.cs (13)
585
Invariant.Assert(this.GetScopingNode() is
TextTreeRootNode
);
2641
if (scopingNode is
TextTreeRootNode
)
3173
Invariant.Assert(currentNode is
TextTreeRootNode
, "currentNode is expected to be TextTreeRootNode");
3215
if (!(containingNode is
TextTreeRootNode
))
3237
Invariant.Assert(newNode is
TextTreeRootNode
);
3318
if (!(containingNode is
TextTreeRootNode
))
3366
Invariant.Assert(currentNode is
TextTreeRootNode
, "currentNode is expected to be a TextTreeRootNode");
3406
Invariant.Assert(newNode is
TextTreeRootNode
);
3458
Invariant.Assert(node.ParentNode != null || node is
TextTreeRootNode
, "Inconsistent node.ParentNode");
3472
symbolType = (node.GetContainingNode() is
TextTreeRootNode
) ? TextPointerContext.None : TextPointerContext.ElementEnd;
3504
symbolType = (node.GetContainingNode() is
TextTreeRootNode
) ? TextPointerContext.None : TextPointerContext.ElementStart;
3510
Invariant.Assert(node.ParentNode != null || node is
TextTreeRootNode
, "Inconsistent node.ParentNode");
4152
if (_node is
TextTreeRootNode
)
System\Windows\Documents\TextTreeDumper.cs (2)
154
if (node is
TextTreeRootNode
)
207
else if (node is
TextTreeRootNode
)
System\Windows\Documents\TextTreeNode.cs (3)
285
return ((
TextTreeRootNode
)node).TextContainer;
312
parent = ((
TextTreeRootNode
)node).TextContainer.Parent; // This may be null.
355
logicalTreeNode = ((
TextTreeRootNode
)node).TextContainer.Parent;