Table of Contents

Method HitTest

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

HitTest(PointD)

Returns the zero-based index of the item at the specified coordinates.

int? HitTest(PointD position)

Parameters

position PointD

A PointD object containing the coordinates used to obtain the item index.

Returns

int?

The zero-based index of the item found at the specified coordinates; returns null if no match is found.