Table of Contents

Method HitTest

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

HitTest(PointD)

Performs a hit test at the specified point and returns the index of the item under that point.

int HitTest(PointD point)

Parameters

point PointD

Point in control coordinates to test.

Returns

int

The zero-based index of the item under the point, or -1 if none.