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