Method HitTest
- Namespace
- Alternet.FormDesigner.Wpf
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
HitTest(Point, bool, bool, HitTestType)
Performs a hit test on the design surface.
DesignPanelHitTestResult HitTest(Point mousePosition, bool testAdorners, bool testDesignSurface, HitTestType hitTestType)
Parameters
mousePosition
PointtestAdorners
booltestDesignSurface
boolhitTestType
HitTestType
Returns
HitTest(Point, bool, bool, Predicate<DesignPanelHitTestResult>, HitTestType)
Performs a hit test on the design surface, raising callback
for each match.
Hit testing continues while the callback returns true.
void HitTest(Point mousePosition, bool testAdorners, bool testDesignSurface, Predicate<DesignPanelHitTestResult> callback, HitTestType hitTestType)
Parameters
mousePosition
PointtestAdorners
booltestDesignSurface
boolcallback
Predicate<DesignPanelHitTestResult>hitTestType
HitTestType