Skip to main content

HitTest

In the ExpressQuantumGrid, HitTest objects are used to identify a grid View element by its position within a grid View. Every ViewInfo has a GetHitTest method, which receives the X and Y coordinates of a specific point within the grid View and returns the HitTest object of the grid View element whose bounding rectangle includes this point.

HitTest objects are used internally by the grid control infrastructure. You can use a HitTest object’s HitTestCode method to identify the grid View element located at a specific point. Refer to the Understanding HitTests topic to learn about HitTest classes available within various grid Views.