12 references to GetPositionAtOffset
PresentationFramework (12)
System\Windows\Controls\TextBox.cs (2)
454
textPointer = textPointer.
GetPositionAtOffset
(0, LogicalDirection.Backward);
459
textPointer = textPointer.
GetPositionAtOffset
(0, LogicalDirection.Forward);
System\Windows\Documents\TextContainer.cs (1)
1605
TextPointer positionForwardGravity = position.
GetPositionAtOffset
(0, LogicalDirection.Forward);
System\windows\Documents\TextEditorCopyPaste.cs (2)
962
start = start.
GetPositionAtOffset
(0, LogicalDirection.Backward);
963
TextPointer end = start.
GetPositionAtOffset
(0, LogicalDirection.Forward);
System\Windows\Documents\TextPointer.cs (1)
875
return
GetPositionAtOffset
(offset, this.LogicalDirection);
System\Windows\Documents\TextRangeEdit.cs (5)
800
start = block.ElementEnd.
GetPositionAtOffset
(0, LogicalDirection.Forward);
807
TextPointer contentStart = block.ContentStart.
GetPositionAtOffset
(0, LogicalDirection.Forward); // Normalize forward;
828
start = block.ElementEnd.
GetPositionAtOffset
(0, LogicalDirection.Forward);
1895
TextPointer nextRunPosition = run.ElementEnd.
GetPositionAtOffset
(0, LogicalDirection.Forward);
2112
start = start.
GetPositionAtOffset
(0, LogicalDirection.Forward);
System\Windows\Documents\TextRangeSerialization.cs (1)
1338
fragmentEnd = fragment.ElementEnd.
GetPositionAtOffset
(0, LogicalDirection.Forward); // need forward orientation to stick with the following content during merge at fragmentStart position