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

TdxCustomLayoutHitTest Class

The base class for all HitTest classes which identify layout control elements (the client area, groups, items, the Customization Form, etc.) whose area contains a specified point (also called the inspected point).

#Declaration

Delphi
TdxCustomLayoutHitTest = class(
    TObject
)

#Remarks

The TdxCustomLayoutHitTest class introduces the following members:

  • The Pos property to store the inspected point;

  • The HitTestCode method that returns a constant identifying the layout element or area that corresponds to the inspected point;

  • The GetGroupForInsert method that returns the potential parent group if a layout element is dropped at the inspected point.

TdxCustomLayoutHitTest descendants override the HitTestCode and GetGroupForInsert methods to return element-specific data.

#Inheritance

TObject
TdxCustomLayoutHitTest
See Also