18 references to HitPoint
PresentationCore (12)
System\Windows\Media\DrawingVisual.cs (2)
40if (_content.HitTestPoint(hitTestParameters.HitPoint)) 42return new PointHitTestResult(this, hitTestParameters.HitPoint);
System\Windows\Media\Visual.cs (7)
1947Point backupHitPoint = pointParams.HitPoint; 1962Debug.Assert(Point.Equals(pointParams.HitPoint, backupHitPoint), 2020if (_bboxSubgraph.Contains(pointParams.HitPoint) && 2021((null == clip) || clip.FillContains(pointParams.HitPoint))) // Check that the hit-point is with-in the clip. 2046Point originalHitPoint = pointParams.HitPoint; 2419if (GetHitTestBounds().Contains(hitTestParameters.HitPoint)) 2421return new PointHitTestResult(this, hitTestParameters.HitPoint);
System\Windows\Media3D\Viewport3DVisual.cs (1)
495hitTestParameters.HitPoint,
System\Windows\UIElement.cs (2)
3099if (_drawingContent.HitTestPoint(hitTestParameters.HitPoint)) 3101return new PointHitTestResult(this, hitTestParameters.HitPoint);
PresentationFramework (6)
System\Windows\Controls\InkCanvas.cs (2)
261if (r.Contains(hitTestParams.HitPoint)) 263return new PointHitTestResult(this, hitTestParams.HitPoint);
System\Windows\Controls\ScrollViewer.cs (2)
900if (rc.Contains(hitTestParameters.HitPoint)) 902return new PointHitTestResult(this, hitTestParameters.HitPoint);
System\Windows\Controls\TextBlock.cs (2)
1650if (r.Contains(hitTestParameters.HitPoint)) 1652return new PointHitTestResult(this, hitTestParameters.HitPoint);