예제 #1
0
 protected override HitTestResult HitTestCore(PointHitTestParameters htp)
 {
     var htr = base.HitTestCore(htp);
     if (htr == null)
         htr = new PointHitTestResult(this, htp.HitPoint);
     return htr;
 }
예제 #2
0
 protected override HitTestResult HitTestCore(PointHitTestParameters htp)
 {
     var htr = base.HitTestCore(htp);
     if (htr == null)
     {
         htr = new PointHitTestResult(this, htp.HitPoint);
     }
     else
     {
         Debug.WriteLine("hh");
     }
     return htr;
 }