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