18 references to GetInsertionPosition
PresentationFramework (18)
System\Windows\Controls\TextBox.cs (6)
170
newStart = newStart.
GetInsertionPosition
(LogicalDirection.Forward);
181
newEnd = newEnd.
GetInsertionPosition
(LogicalDirection.Forward);
445
textPointer = textPointer.
GetInsertionPosition
(LogicalDirection.Backward);
819
newEnd = newEnd.
GetInsertionPosition
(LogicalDirection.Forward);
864
newStart = newStart.
GetInsertionPosition
(LogicalDirection.Forward);
875
newEnd = newEnd.
GetInsertionPosition
(LogicalDirection.Forward);
System\Windows\Documents\TextPointer.cs (2)
1071
return
GetInsertionPosition
(LogicalDirection.Forward);
1090
/// "insertion position" in the <see cref="TextPointer.
GetInsertionPosition
(LogicalDirection)"/>
System\Windows\Documents\TextRangeEdit.cs (2)
664
breakPosition = breakPosition.
GetInsertionPosition
(LogicalDirection.Forward);
701
return lineBreak.ElementEnd.
GetInsertionPosition
(LogicalDirection.Forward);
System\Windows\Documents\TextRangeEditLists.cs (1)
764
TextPointer adjustedEnd = list.ElementEnd.
GetInsertionPosition
(LogicalDirection.Backward);
System\Windows\Documents\TextRangeEditTables.cs (6)
714
position = position.
GetInsertionPosition
(position.LogicalDirection);
1962
startPosition = startPosition.
GetInsertionPosition
(LogicalDirection.Forward);
1965
endPosition = endPosition.
GetInsertionPosition
(LogicalDirection.Backward);
1990
TextPointer start = startCell.ContentStart.
GetInsertionPosition
(LogicalDirection.Forward);
2051
anchorPosition = anchorPosition.
GetInsertionPosition
(LogicalDirection.Forward);
2054
movingPosition = movingPosition.
GetInsertionPosition
(LogicalDirection.Backward);
System\Windows\Documents\TextRangeSerialization.cs (1)
1366
fragmentEnd = fragmentEnd.
GetInsertionPosition
(LogicalDirection.Forward);