GetHitTest Method
GetHitTest(Point, IHitTestInfo)
Fills hitTestInfo parameter by information about a part of the control at specified coordinate.
Declaration
public virtual void GetHitTest(Point position, IHitTestInfo hitTestInfo)
Parameters
Type | Name | Description |
---|---|---|
Point | position | Specifies coordinate to check. |
IHitTestInfo | hitTestInfo | Retrieves information about part of control. |
Implements
GetHitTest(Int32, Int32, IHitTestInfo)
Fills hitTestInfo parameter by information about a part of the control at specified coordinate.
Declaration
public virtual void GetHitTest(int x, int y, IHitTestInfo hitTestInfo)
Parameters
Type | Name | Description |
---|---|---|
Int32 | x | Specifies horizontal coordinate of position to check. |
Int32 | y | Specifies vertical coordinate of position to check. |
IHitTestInfo | hitTestInfo | Retrieves information about part of control. |