Back to Devexpress

TcxCustomGridView.GetHitTest(Integer,Integer) Method

vcl-cxgridcustomview-dot-tcxcustomgridview-dot-gethittest-x28-system-dot-integer-system-dot-integer-x29.md

latest1.1 KB
Original Source

TcxCustomGridView.GetHitTest(Integer,Integer) Method

Returns the HitTest object that identifies the visual element at the inspected point.

Declaration

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

Parameters

NameType
XInteger
YInteger

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.

See Also

TcxCustomGridView Class

TcxCustomGridView Members

cxGridCustomView Unit