11 references to Contains
PresentationFramework (11)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (3)
771
else if (_segment.
Contains
(ps))
820
else if (_segment.
Contains
(ps1))
825
if (r1[i].Segment.
Contains
(ps2))
MS\Internal\Annotations\TextAnchor.cs (1)
123
if (_segments[i].
Contains
(textPointer))
System\Windows\Controls\TextRangeAdaptor.cs (1)
611
if (lineRange.
Contains
(_end))
System\Windows\Documents\TextRangeBase.cs (1)
83
if (thisRange._TextSegments[i].
Contains
(textPointer))
System\windows\Documents\TextSelection.cs (5)
922
if (_anchorWordRangeHasBeenCrossedOnce && anchorWordRange.
Contains
(cursorPosition))
935
if (!lastReenteredWordRange.
Contains
(cursorPosition))
945
if (anchorWordRange.
Contains
(cursorPosition) ||
946
anchorWordRange.
Contains
(cursorPosition.GetInsertionPosition(LogicalDirection.Forward)) ||
947
anchorWordRange.
Contains
(cursorPosition.GetInsertionPosition(LogicalDirection.Backward)))