11 references to Contains
PresentationFramework (11)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (3)
772
else if (_segment.
Contains
(ps))
821
else if (_segment.
Contains
(ps1))
826
if (r1[i].Segment.
Contains
(ps2))
MS\Internal\Annotations\TextAnchor.cs (1)
124
if (_segments[i].
Contains
(textPointer))
System\Windows\Controls\TextRangeAdaptor.cs (1)
612
if (lineRange.
Contains
(_end))
System\Windows\Documents\TextRangeBase.cs (1)
84
if (thisRange._TextSegments[i].
Contains
(textPointer))
System\windows\Documents\TextSelection.cs (5)
938
if (_anchorWordRangeHasBeenCrossedOnce && anchorWordRange.
Contains
(cursorPosition))
951
if (!lastReenteredWordRange.
Contains
(cursorPosition))
961
if (anchorWordRange.
Contains
(cursorPosition) ||
962
anchorWordRange.
Contains
(cursorPosition.GetInsertionPosition(LogicalDirection.Forward)) ||
963
anchorWordRange.
Contains
(cursorPosition.GetInsertionPosition(LogicalDirection.Backward)))