14 references to TextPointer
PresentationFramework (14)
src\Framework\MS\Internal\Documents\TableTextElementCollectionInternal.cs (2)
162
TextPointer startPosition = new
TextPointer
(item.TextContainer, item.TextElementNode, ElementEdge.BeforeStart, LogicalDirection.Backward);
163
TextPointer endPosition = new
TextPointer
(item.TextContainer, item.TextElementNode, ElementEdge.AfterEnd, LogicalDirection.Backward);
src\Framework\System\Windows\Documents\TextContainer.cs (5)
490
return (node == null) ? null : new
TextPointer
(this, node, edge, direction);
1655
startPosition = new
TextPointer
(this, _rootNode, ElementEdge.AfterStart, LogicalDirection.Backward);
1686
endPosition = new
TextPointer
(this, _rootNode, ElementEdge.BeforeEnd, LogicalDirection.Forward);
2808
startPosition = new
TextPointer
(this, elementNode, ElementEdge.BeforeStart, LogicalDirection.Backward);
2813
endPosition = new
TextPointer
(this, elementNode, ElementEdge.AfterEnd, LogicalDirection.Backward);
src\Framework\System\Windows\Documents\TextElement.cs (7)
308
TextPointer contentStart = new
TextPointer
(tree, _textElementNode, ElementEdge.AfterStart, LogicalDirection.Backward);
311
TextPointer contentEnd = new
TextPointer
(tree, _textElementNode, ElementEdge.BeforeEnd, LogicalDirection.Forward);
334
elementStart = new
TextPointer
(tree, _textElementNode, ElementEdge.BeforeStart, LogicalDirection.Forward);
367
contentStart = new
TextPointer
(tree, _textElementNode, ElementEdge.AfterStart, LogicalDirection.Backward);
400
contentEnd = new
TextPointer
(tree, _textElementNode, ElementEdge.BeforeEnd, LogicalDirection.Forward);
441
elementEnd = new
TextPointer
(tree, _textElementNode, ElementEdge.AfterEnd, LogicalDirection.Backward);
1054
beforeStart = new
TextPointer
(tree, _textElementNode, ElementEdge.BeforeStart, LogicalDirection.Forward);