5 implementations of GetInsertionPosition
PresentationFramework (5)
System\Windows\Controls\PasswordTextNavigator.cs (1)
555
ITextPointer ITextPointer.
GetInsertionPosition
(LogicalDirection direction)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
266
ITextPointer ITextPointer.
GetInsertionPosition
(LogicalDirection direction)
System\Windows\Documents\FixedTextPointer.cs (1)
327
ITextPointer ITextPointer.
GetInsertionPosition
(LogicalDirection direction)
System\Windows\Documents\NullTextNavigator.cs (1)
349
ITextPointer ITextPointer.
GetInsertionPosition
(LogicalDirection direction)
System\Windows\Documents\TextPointer.cs (1)
2466
ITextPointer ITextPointer.
GetInsertionPosition
(LogicalDirection direction)
23 references to GetInsertionPosition
PresentationFramework (23)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (2)
1063
segmentStart = cursor.
GetInsertionPosition
(LogicalDirection.Forward);
1080
ITextPointer segmentEnd = cursor.
GetInsertionPosition
(LogicalDirection.Backward);
MS\Internal\Annotations\TextAnchor.cs (5)
117
textPointer = textPointer.
GetInsertionPosition
(LogicalDirection.Forward);
121
textPointer = textPointer.
GetInsertionPosition
(LogicalDirection.Backward);
662
start = start.
GetInsertionPosition
(start.LogicalDirection);
670
start = start.
GetInsertionPosition
(LogicalDirection.Forward);
674
end = end.
GetInsertionPosition
(LogicalDirection.Backward);
System\Windows\Documents\FixedTextPointer.cs (1)
325
/// <see cref="ITextPointer.
GetInsertionPosition
"/>
System\Windows\Documents\NullTextNavigator.cs (1)
347
/// <see cref="ITextPointer.
GetInsertionPosition
"/>
System\windows\Documents\TextEditorDragDrop.cs (1)
471
dropPosition = dropPosition.
GetInsertionPosition
(dropPosition.LogicalDirection);
System\windows\Documents\TextEditorSelection.cs (3)
1147
newMovingPosition = newMovingPosition.
GetInsertionPosition
(LogicalDirection.Forward);
2085
movingEnd = movingEnd.
GetInsertionPosition
(contentDirection);
2336
movingPosition = movingPosition.
GetInsertionPosition
(movingPosition.LogicalDirection);
System\Windows\Documents\TextPointer.cs (1)
1065
return (TextPointer)((ITextPointer)this).
GetInsertionPosition
(direction);
System\Windows\Documents\TextPointerBase.cs (4)
529
thisPosition = thisPosition.
GetInsertionPosition
(direction);
612
return limit.
GetInsertionPosition
(direction == LogicalDirection.Backward ? LogicalDirection.Forward : LogicalDirection.Backward);
673
thisPosition = thisPosition.
GetInsertionPosition
(direction);
874
ITextPointer insertionPosition = thisPointer.
GetInsertionPosition
(direction);
System\Windows\Documents\TextRangeBase.cs (1)
1813
normalizedPosition = position.
GetInsertionPosition
(direction);
System\Windows\Documents\TextRangeEdit.cs (1)
1260
rangeEnd = rangeEnd.
GetInsertionPosition
(LogicalDirection.Backward);
System\windows\Documents\TextSelection.cs (3)
965
anchorWordRange.Contains(cursorPosition.
GetInsertionPosition
(LogicalDirection.Forward)) ||
966
anchorWordRange.Contains(cursorPosition.
GetInsertionPosition
(LogicalDirection.Backward)))
1872
_anchorPosition = anchorPosition.
GetInsertionPosition
(anchorPosition.LogicalDirection);