[]
Returns the row index for a given point.
public int IndexFromPoint(Point p)
Type | Name | Description |
---|---|---|
Point | p | The given point. |
Type | Description |
---|---|
int | The row index. |
If the point is not on any row, then it will return -1. Otherwise it will return the row index.