14 references to TextPointer
PresentationFramework (14)
MS\Internal\Documents\TableTextElementCollectionInternal.cs (2)
153
TextPointer startPosition = new
TextPointer
(item.TextContainer, item.TextElementNode, ElementEdge.BeforeStart, LogicalDirection.Backward);
154
TextPointer endPosition = new
TextPointer
(item.TextContainer, item.TextElementNode, ElementEdge.AfterEnd, LogicalDirection.Backward);
System\Windows\Documents\TextContainer.cs (5)
470
return (node == null) ? null : new
TextPointer
(this, node, edge, direction);
1629
startPosition = new
TextPointer
(this, _rootNode, ElementEdge.AfterStart, LogicalDirection.Backward);
1660
endPosition = new
TextPointer
(this, _rootNode, ElementEdge.BeforeEnd, LogicalDirection.Forward);
2764
startPosition = new
TextPointer
(this, elementNode, ElementEdge.BeforeStart, LogicalDirection.Backward);
2769
endPosition = new
TextPointer
(this, elementNode, ElementEdge.AfterEnd, LogicalDirection.Backward);
System\Windows\Documents\TextElement.cs (7)
288
TextPointer contentStart = new
TextPointer
(tree, _textElementNode, ElementEdge.AfterStart, LogicalDirection.Backward);
291
TextPointer contentEnd = new
TextPointer
(tree, _textElementNode, ElementEdge.BeforeEnd, LogicalDirection.Forward);
314
elementStart = new
TextPointer
(tree, _textElementNode, ElementEdge.BeforeStart, LogicalDirection.Forward);
347
contentStart = new
TextPointer
(tree, _textElementNode, ElementEdge.AfterStart, LogicalDirection.Backward);
380
contentEnd = new
TextPointer
(tree, _textElementNode, ElementEdge.BeforeEnd, LogicalDirection.Forward);
421
elementEnd = new
TextPointer
(tree, _textElementNode, ElementEdge.AfterEnd, LogicalDirection.Backward);
994
beforeStart = new
TextPointer
(tree, _textElementNode, ElementEdge.BeforeStart, LogicalDirection.Forward);