11 references to Contains
PresentationFramework (11)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (3)
779
else if (_segment.
Contains
(ps))
828
else if (_segment.
Contains
(ps1))
833
if (r1[i].Segment.
Contains
(ps2))
MS\Internal\Annotations\TextAnchor.cs (1)
127
if (_segments[i].
Contains
(textPointer))
System\Windows\Controls\TextRangeAdaptor.cs (1)
614
if (lineRange.
Contains
(_end))
System\Windows\Documents\TextRangeBase.cs (1)
87
if (thisRange._TextSegments[i].
Contains
(textPointer))
System\windows\Documents\TextSelection.cs (5)
941
if (_anchorWordRangeHasBeenCrossedOnce && anchorWordRange.
Contains
(cursorPosition))
954
if (!lastReenteredWordRange.
Contains
(cursorPosition))
964
if (anchorWordRange.
Contains
(cursorPosition) ||
965
anchorWordRange.
Contains
(cursorPosition.GetInsertionPosition(LogicalDirection.Forward)) ||
966
anchorWordRange.
Contains
(cursorPosition.GetInsertionPosition(LogicalDirection.Backward)))