12 references to GetPositionAtOffset
PresentationFramework (12)
System\Windows\Controls\TextBox.cs (2)
448
textPointer = textPointer.
GetPositionAtOffset
(0, LogicalDirection.Backward);
453
textPointer = textPointer.
GetPositionAtOffset
(0, LogicalDirection.Forward);
System\Windows\Documents\TextContainer.cs (1)
1593
TextPointer positionForwardGravity = position.
GetPositionAtOffset
(0, LogicalDirection.Forward);
System\windows\Documents\TextEditorCopyPaste.cs (2)
950
start = start.
GetPositionAtOffset
(0, LogicalDirection.Backward);
951
TextPointer end = start.
GetPositionAtOffset
(0, LogicalDirection.Forward);
System\Windows\Documents\TextPointer.cs (1)
869
return
GetPositionAtOffset
(offset, this.LogicalDirection);
System\Windows\Documents\TextRangeEdit.cs (5)
797
start = block.ElementEnd.
GetPositionAtOffset
(0, LogicalDirection.Forward);
804
TextPointer contentStart = block.ContentStart.
GetPositionAtOffset
(0, LogicalDirection.Forward); // Normalize forward;
825
start = block.ElementEnd.
GetPositionAtOffset
(0, LogicalDirection.Forward);
1892
TextPointer nextRunPosition = run.ElementEnd.
GetPositionAtOffset
(0, LogicalDirection.Forward);
2109
start = start.
GetPositionAtOffset
(0, LogicalDirection.Forward);
System\Windows\Documents\TextRangeSerialization.cs (1)
1331
fragmentEnd = fragment.ElementEnd.
GetPositionAtOffset
(0, LogicalDirection.Forward); // need forward orientation to stick with the following content during merge at fragmentStart position