Skip to main content

TcxCustomGridView.GetHitTest(Integer,Integer) Method

Returns the HitTest object identifying the View’s element located at a particular point (called test or inspected point).

Declaration

function GetHitTest(X: Integer; Y: Integer): TcxCustomGridHitTest; overload; virtual;

Parameters

Name Type
X Integer
Y Integer

Returns

Type
TcxCustomGridHitTest

Remarks

The overloaded variants allow you to specify the test point either via a TPoint structure or via integer values specifying the horizontal and vertical coordinates. Note that the coordinates should be relative to the View’s top-left corner.

The GetHitTest method simply calls the appropriate overloaded ViewInfo.GetHitTest function and passes parameters to it.

See Also