---
title: "VirtualListView..::.HitTest Method (Point)"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_VirtualListView_HitTest_1_df624cba.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# VirtualListView.HitTest Method (Point)
 
Determines which list-view item, if any, is at a specified position.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
 
## Syntax
  
```
Public Function HitTest ( _point As Point _
) As Integer
```
 
```csharp
public int HitTest(Point point
)
```
 
### Parameters
 
 - point
     - Type: [System.Drawing.Point](http://msdn2.microsoft.com/en-us/bk9hwzbw)
The coordinates of point to test.
 
### Return Value
An index of the item at specified position, if any, or -1 otherwise.
 
## Remarks
  
Coordinates are interpreted relatively the control client area. It does not depend on the scrolling position, etc.
   
## See Also

### Reference

- [VirtualListView Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_VirtualListView.htm.md)
- [HitTest Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_WinControls_VirtualListView_HitTest.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
