Table of Contents

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 Point
testAdorners bool
testDesignSurface bool
hitTestType HitTestType

Returns

DesignPanelHitTestResult

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 Point
testAdorners bool
testDesignSurface bool
callback Predicate<DesignPanelHitTestResult>
hitTestType HitTestType