18 references to GetInsertionPosition
PresentationFramework (18)
System\Windows\Controls\TextBox.cs (6)
163
newStart = newStart.
GetInsertionPosition
(LogicalDirection.Forward);
174
newEnd = newEnd.
GetInsertionPosition
(LogicalDirection.Forward);
438
textPointer = textPointer.
GetInsertionPosition
(LogicalDirection.Backward);
812
newEnd = newEnd.
GetInsertionPosition
(LogicalDirection.Forward);
857
newStart = newStart.
GetInsertionPosition
(LogicalDirection.Forward);
868
newEnd = newEnd.
GetInsertionPosition
(LogicalDirection.Forward);
System\Windows\Documents\TextPointer.cs (2)
1066
return
GetInsertionPosition
(LogicalDirection.Forward);
1085
/// "insertion position" in the <see cref="TextPointer.
GetInsertionPosition
(LogicalDirection)"/>
System\Windows\Documents\TextRangeEdit.cs (2)
662
breakPosition = breakPosition.
GetInsertionPosition
(LogicalDirection.Forward);
699
return lineBreak.ElementEnd.
GetInsertionPosition
(LogicalDirection.Forward);
System\Windows\Documents\TextRangeEditLists.cs (1)
762
TextPointer adjustedEnd = list.ElementEnd.
GetInsertionPosition
(LogicalDirection.Backward);
System\Windows\Documents\TextRangeEditTables.cs (6)
712
position = position.
GetInsertionPosition
(position.LogicalDirection);
1960
startPosition = startPosition.
GetInsertionPosition
(LogicalDirection.Forward);
1963
endPosition = endPosition.
GetInsertionPosition
(LogicalDirection.Backward);
1988
TextPointer start = startCell.ContentStart.
GetInsertionPosition
(LogicalDirection.Forward);
2049
anchorPosition = anchorPosition.
GetInsertionPosition
(LogicalDirection.Forward);
2052
movingPosition = movingPosition.
GetInsertionPosition
(LogicalDirection.Backward);
System\Windows\Documents\TextRangeSerialization.cs (1)
1360
fragmentEnd = fragmentEnd.
GetInsertionPosition
(LogicalDirection.Forward);