Skip to main content

TcxTreeListHitTest Class

Contains HitTest information about the tree list elements located at a specified test point.

Declaration

TcxTreeListHitTest = class(
    TcxCustomHitTestController
)

Remarks

This class provides the HitX, HitY, and HitPoint properties that allow you to specify the relative coordinates of the test point, in pixels. Note that if you assign the HitX and HitY properties, you must call the ReCalculate method to update the hit test information returned by other TcxTreeListHitTest class members.

After the test point is specified, you can use TcxTreeListHitTest properties to identify the tree list elements that contain this test point. In addition, the TcxTreeListHitTest class provides the HitBand, HitColumn, and HitNode properties with which you can access attributes of the elements that correspond to the test point.

A TreeList control’s HitTest property references a TcxTreeListHitTest object.

Note

Do not create a TcxTreeListHitTest instance explicitly. It is created automatically on demand.

Inheritance

See Also