12 references to GetPositionAtOffset
PresentationFramework (12)
System\Windows\Controls\TextBox.cs (2)
447
textPointer = textPointer.
GetPositionAtOffset
(0, LogicalDirection.Backward);
452
textPointer = textPointer.
GetPositionAtOffset
(0, LogicalDirection.Forward);
System\Windows\Documents\TextContainer.cs (1)
1600
TextPointer positionForwardGravity = position.
GetPositionAtOffset
(0, LogicalDirection.Forward);
System\windows\Documents\TextEditorCopyPaste.cs (2)
949
start = start.
GetPositionAtOffset
(0, LogicalDirection.Backward);
950
TextPointer end = start.
GetPositionAtOffset
(0, LogicalDirection.Forward);
System\Windows\Documents\TextPointer.cs (1)
870
return
GetPositionAtOffset
(offset, this.LogicalDirection);
System\Windows\Documents\TextRangeEdit.cs (5)
798
start = block.ElementEnd.
GetPositionAtOffset
(0, LogicalDirection.Forward);
805
TextPointer contentStart = block.ContentStart.
GetPositionAtOffset
(0, LogicalDirection.Forward); // Normalize forward;
826
start = block.ElementEnd.
GetPositionAtOffset
(0, LogicalDirection.Forward);
1893
TextPointer nextRunPosition = run.ElementEnd.
GetPositionAtOffset
(0, LogicalDirection.Forward);
2110
start = start.
GetPositionAtOffset
(0, LogicalDirection.Forward);
System\Windows\Documents\TextRangeSerialization.cs (1)
1332
fragmentEnd = fragment.ElementEnd.
GetPositionAtOffset
(0, LogicalDirection.Forward); // need forward orientation to stick with the following content during merge at fragmentStart position