Method GetHitTest
GetHitTest(Point, IHitTestInfo)
Fills hitTestInfo parameter by information about a part of the control at specified coordinate.
public virtual void GetHitTest(Point position, IHitTestInfo hitTestInfo)
Parameters
position
PointSpecifies coordinate to check.
hitTestInfo
IHitTestInfoRetrieves information about part of control.
GetHitTest(double, double, IHitTestInfo)
Fills hitTestInfo parameter by information about a part of the control at specified coordinate.
public virtual void GetHitTest(double x, double y, IHitTestInfo hitTestInfo)
Parameters
x
doubleSpecifies horizontal coordinate of position to check.
y
doubleSpecifies vertical coordinate of position to check.
hitTestInfo
IHitTestInfoRetrieves information about part of control.