14 references to TextPointer
PresentationFramework (14)
MS\Internal\Documents\TableTextElementCollectionInternal.cs (2)
152
TextPointer startPosition = new
TextPointer
(item.TextContainer, item.TextElementNode, ElementEdge.BeforeStart, LogicalDirection.Backward);
153
TextPointer endPosition = new
TextPointer
(item.TextContainer, item.TextElementNode, ElementEdge.AfterEnd, LogicalDirection.Backward);
System\Windows\Documents\TextContainer.cs (5)
469
return (node == null) ? null : new
TextPointer
(this, node, edge, direction);
1628
startPosition = new
TextPointer
(this, _rootNode, ElementEdge.AfterStart, LogicalDirection.Backward);
1659
endPosition = new
TextPointer
(this, _rootNode, ElementEdge.BeforeEnd, LogicalDirection.Forward);
2763
startPosition = new
TextPointer
(this, elementNode, ElementEdge.BeforeStart, LogicalDirection.Backward);
2768
endPosition = new
TextPointer
(this, elementNode, ElementEdge.AfterEnd, LogicalDirection.Backward);
System\Windows\Documents\TextElement.cs (7)
287
TextPointer contentStart = new
TextPointer
(tree, _textElementNode, ElementEdge.AfterStart, LogicalDirection.Backward);
290
TextPointer contentEnd = new
TextPointer
(tree, _textElementNode, ElementEdge.BeforeEnd, LogicalDirection.Forward);
313
elementStart = new
TextPointer
(tree, _textElementNode, ElementEdge.BeforeStart, LogicalDirection.Forward);
346
contentStart = new
TextPointer
(tree, _textElementNode, ElementEdge.AfterStart, LogicalDirection.Backward);
379
contentEnd = new
TextPointer
(tree, _textElementNode, ElementEdge.BeforeEnd, LogicalDirection.Forward);
420
elementEnd = new
TextPointer
(tree, _textElementNode, ElementEdge.AfterEnd, LogicalDirection.Backward);
993
beforeStart = new
TextPointer
(tree, _textElementNode, ElementEdge.BeforeStart, LogicalDirection.Forward);