Parameters
- y
- The y coordinate in pixels.
The RowContaining method returns the zero-based index of the display row containing the specified coordinate. This value ranges from 0 to VisibleRows - 1.
If y is outside of the list's data area, this method returns -1.