Skip to main content

TcxCustomGridCellViewInfo.GetHitTest(TPoint) Method

Returns HitTest object for a cell at the specified point.

Declaration

function GetHitTest(const P: TPoint): TcxCustomGridHitTest; virtual;

Parameters

Name Type Description
P TPoint

Inspected point coordinates.

Returns

Type
TcxCustomGridHitTest

Remarks

This function returns a HitTest object for a grid View’s point being inspected. The P parameter specifies the point’s coordinates relative to the top-left corner of the grid control. Call the HitTest object’s HitTestCode method to identify the grid element located at the inspected point.

See Also