11 references to Contains
PresentationFramework (11)
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (3)
794
else if (_segment.
Contains
(ps))
843
else if (_segment.
Contains
(ps1))
848
if (r1[i].Segment.
Contains
(ps2))
src\Framework\MS\Internal\Annotations\TextAnchor.cs (1)
133
if (_segments[i].
Contains
(textPointer))
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (1)
622
if (lineRange.
Contains
(_end))
src\Framework\System\Windows\Documents\TextRangeBase.cs (1)
92
if (thisRange._TextSegments[i].
Contains
(textPointer))
src\Framework\System\windows\Documents\TextSelection.cs (5)
944
if (_anchorWordRangeHasBeenCrossedOnce && anchorWordRange.
Contains
(cursorPosition))
957
if (!lastReenteredWordRange.
Contains
(cursorPosition))
967
if (anchorWordRange.
Contains
(cursorPosition) ||
968
anchorWordRange.
Contains
(cursorPosition.GetInsertionPosition(LogicalDirection.Forward)) ||
969
anchorWordRange.
Contains
(cursorPosition.GetInsertionPosition(LogicalDirection.Backward)))