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. |
GetHitTest(Double, Double, IHitTestInfo)
Fills hitTestInfo parameter by information about a part of the control at specified coordinate.
Declaration
public virtual void GetHitTest(double x, double y, IHitTestInfo hitTestInfo)
Parameters
Type | Name | Description |
---|---|---|
Double | x | Specifies horizontal coordinate of position to check. |
Double | y | Specifies vertical coordinate of position to check. |
IHitTestInfo | hitTestInfo | Retrieves information about part of control. |