47 references to Contains
PresentationCore (20)
Core\CSharp\MS\Internal\Ink\Lasso.cs (1)
127
if (false == _bounds.
Contains
(point))
Core\CSharp\MS\Internal\Ink\StrokeNode.cs (13)
248
if (!endNodeRect.
Contains
(quad.D))
280
if (!endNodeRect.
Contains
(point))
292
Debug.Assert(!endNodeRect.
Contains
(point));
493
if (union.
Contains
(intersection))
567
if (union.
Contains
(intersection))
668
if (!node3Rect.
Contains
(quad1.B))
675
if (!node3Rect.
Contains
(quad1.B))
679
if (!node3Rect.
Contains
(quad2.A))
690
if (node12.
Contains
(intersection))
713
if (!node3Rect.
Contains
(quad1.C))
720
if (!node3Rect.
Contains
(quad1.C))
724
if (!node3Rect.
Contains
(quad2.D))
735
if (node12.
Contains
(intersection))
Core\CSharp\System\Windows\Automation\Peers\AutomationPeer.cs (1)
1691
if (bounds.
Contains
(point))
Core\CSharp\System\Windows\Ink\Stroke2.cs (1)
259
if (true == bounds.
Contains
((Point)stylusPoints[i]))
Core\CSharp\System\Windows\Media\HitTestWithPointDrawingContextWalker.cs (1)
127
_contains |= rectangle.
Contains
(_point);
Core\CSharp\System\Windows\Media\Visual.cs (3)
2039
if (_bboxSubgraph.
Contains
(pointParams.HitPoint) &&
2127
if (scrollClip.HasValue && !scrollClip.Value.
Contains
(hitPoint))
2441
if (GetHitTestBounds().
Contains
(hitTestParameters.HitPoint))
PresentationFramework (17)
src\Framework\MS\Internal\Controls\InkCanvasSelectionAdorner.cs (2)
127
if (toleranceRect.
Contains
(point))
138
if ( outterRect.
Contains
(point) )
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (1)
1084
if (textViewBounds.
Contains
(point))
src\Framework\MS\Internal\Documents\TextDocumentView.cs (2)
876
if (paragraphBox.
Contains
(point) || snapToText)
2108
if (paragraphBox.
Contains
(point))
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (1)
619
hasHit = elementRect.
Contains
(pointOnInnerCanvas);
src\Framework\MS\Internal\Ink\LassoHelper.cs (1)
208
if (false == _boundingBox.
Contains
(point))
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
273
if (r.
Contains
(hitTestParams.HitPoint))
src\Framework\System\Windows\Controls\MenuItem.cs (3)
864
itemBounds.
Contains
(Mouse.GetPosition(this)))
1517
if (r.
Contains
(e.GetPosition(this)))
1545
if (r.
Contains
(e.GetPosition(this)))
src\Framework\System\Windows\Controls\ScrollViewer.cs (1)
927
if (rc.
Contains
(hitTestParameters.HitPoint))
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
854
if (pageRects[index].
Contains
(point))
src\Framework\System\Windows\Controls\TextBlock.cs (1)
1735
if (r.
Contains
(hitTestParameters.HitPoint))
src\Framework\System\windows\Documents\TextEditorMouse.cs (1)
761
if (!boundingRect.
Contains
(mouseMovePoint))
src\Framework\System\Windows\Documents\TextStore.cs (1)
874
if (rectTest.
Contains
(milPoint))
src\Framework\System\Windows\Window.cs (1)
8475
if (monitorRectInWpfScale.
Contains
(LogicalTopLeft))
System.Activities.Presentation (7)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectHelper.cs (2)
183
if (rect.
Contains
(point))
225
if (rect.
Contains
(e.GetPosition(this.panel)))
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (2)
136
if (!shrunk.
Contains
(srcPoint) && !shrunk.
Contains
(destPoint))
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (1)
314
if (new Rect(panel.TranslatePoint(connPoint.Location, outmost) + connPoint.HitTestOffset, connPoint.HitTestSize).
Contains
(hitPoint))
System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (1)
204
if (dragHandleRect.
Contains
(e.GetPosition(this.Designer)))
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
801
if (dragHandleRect.
Contains
(mousePoint))
UIAutomationClientsideProviders (3)
MS\Internal\AutomationProxies\WindowsSpinner.cs (2)
170
if (rcUpDown.
Contains
(pt))
174
else if (rcEdit.
Contains
(pt))
MS\Internal\AutomationProxies\WinFormsSpinner.cs (1)
268
if (rcUpDown.
Contains
(new Point(x, y)))