This documentation is for the old version. Go to the latest Graphics Mill docs

VirtualListView.HitTest Method (Point)

Determines which list-view item, if any, is at a specified position.

Namespace: Aurigma.GraphicsMill.WinControls
Assembly: Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)

Syntax

Visual Basic
Public Function HitTest ( _
	point As Point _
) As Integer
C#
public int HitTest(
	Point point
)

Parameters

point

Type: System.Drawing.Point

The coordinates of point to test.

Return Value

An index of the item at specified position, if any, or -1 otherwise.

Remarks

Coordinates are interpreted relatively the control client area. It does not depend on the scrolling position, etc.

See Also

Reference