GetHitTest Method
GetHitTest(Int32, Int32, IHitTestInfo)
When implemented by a class, fills hitTestInfo parameter by information about a part of the control at specified coordinate.
Declaration
void GetHitTest(int x, int y, IHitTestInfo hitTestInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | x | Specifies horizontal coordinate of position to check. |
System.Int32 | y | Specifies vertical coordinate of position to check. |
IHitTestInfo | hitTestInfo | Retrieves information about part of control. |