Table of Contents

Method GetHitTest

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v9.dll

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 Point

Specifies coordinate to check.

hitTestInfo IHitTestInfo

Retrieves 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 int

Specifies horizontal coordinate of position to check.

y int

Specifies vertical coordinate of position to check.

hitTestInfo IHitTestInfo

Retrieves information about part of control.