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(int, int, IHitTestInfo)
Fills hitTestInfo parameter by information about a part of the control at specified coordinate.
public virtual void GetHitTest(int x, int y, IHitTestInfo hitTestInfo)
Parameters
x
intSpecifies horizontal coordinate of position to check.
y
intSpecifies vertical coordinate of position to check.
hitTestInfo
IHitTestInfoRetrieves information about part of control.