5 implementations of GetInsertionPosition
PresentationFramework (5)
System\Windows\Controls\PasswordTextNavigator.cs (1)
551
ITextPointer ITextPointer.
GetInsertionPosition
(LogicalDirection direction)
System\Windows\Documents\DocumentSequenceTextPointer.cs (1)
260
ITextPointer ITextPointer.
GetInsertionPosition
(LogicalDirection direction)
System\Windows\Documents\FixedTextPointer.cs (1)
322
ITextPointer ITextPointer.
GetInsertionPosition
(LogicalDirection direction)
System\Windows\Documents\NullTextNavigator.cs (1)
346
ITextPointer ITextPointer.
GetInsertionPosition
(LogicalDirection direction)
System\Windows\Documents\TextPointer.cs (1)
2461
ITextPointer ITextPointer.
GetInsertionPosition
(LogicalDirection direction)
23 references to GetInsertionPosition
PresentationFramework (23)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (2)
1056
segmentStart = cursor.
GetInsertionPosition
(LogicalDirection.Forward);
1073
ITextPointer segmentEnd = cursor.
GetInsertionPosition
(LogicalDirection.Backward);
MS\Internal\Annotations\TextAnchor.cs (5)
114
textPointer = textPointer.
GetInsertionPosition
(LogicalDirection.Forward);
118
textPointer = textPointer.
GetInsertionPosition
(LogicalDirection.Backward);
659
start = start.
GetInsertionPosition
(start.LogicalDirection);
667
start = start.
GetInsertionPosition
(LogicalDirection.Forward);
671
end = end.
GetInsertionPosition
(LogicalDirection.Backward);
System\Windows\Documents\FixedTextPointer.cs (1)
320
/// <see cref="ITextPointer.
GetInsertionPosition
"/>
System\Windows\Documents\NullTextNavigator.cs (1)
344
/// <see cref="ITextPointer.
GetInsertionPosition
"/>
System\windows\Documents\TextEditorDragDrop.cs (1)
454
dropPosition = dropPosition.
GetInsertionPosition
(dropPosition.LogicalDirection);
System\windows\Documents\TextEditorSelection.cs (3)
1132
newMovingPosition = newMovingPosition.
GetInsertionPosition
(LogicalDirection.Forward);
2070
movingEnd = movingEnd.
GetInsertionPosition
(contentDirection);
2321
movingPosition = movingPosition.
GetInsertionPosition
(movingPosition.LogicalDirection);
System\Windows\Documents\TextPointer.cs (1)
1060
return (TextPointer)((ITextPointer)this).
GetInsertionPosition
(direction);
System\Windows\Documents\TextPointerBase.cs (4)
527
thisPosition = thisPosition.
GetInsertionPosition
(direction);
610
return limit.
GetInsertionPosition
(direction == LogicalDirection.Backward ? LogicalDirection.Forward : LogicalDirection.Backward);
671
thisPosition = thisPosition.
GetInsertionPosition
(direction);
872
ITextPointer insertionPosition = thisPointer.
GetInsertionPosition
(direction);
System\Windows\Documents\TextRangeBase.cs (1)
1810
normalizedPosition = position.
GetInsertionPosition
(direction);
System\Windows\Documents\TextRangeEdit.cs (1)
1258
rangeEnd = rangeEnd.
GetInsertionPosition
(LogicalDirection.Backward);
System\windows\Documents\TextSelection.cs (3)
962
anchorWordRange.Contains(cursorPosition.
GetInsertionPosition
(LogicalDirection.Forward)) ||
963
anchorWordRange.Contains(cursorPosition.
GetInsertionPosition
(LogicalDirection.Backward)))
1869
_anchorPosition = anchorPosition.
GetInsertionPosition
(anchorPosition.LogicalDirection);