Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxTreeListHitTest Class

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

#Declaration

Delphi
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