[]
Returns the Y coordinate of the top of a visible row.
public int RowTop(int row)
Type | Name | Description |
---|---|---|
int | row | The row index. |
Type | Description |
---|---|
int | The Y position of the specified display row, based on the coordinate system of the list's container. |
The RowTop method returns the Y coordinate of the top of a visible row relative to the top of the list, as given by the list's Top property.
Use the RowTop method in conjunction with ItemHeight, Left, and Width to determine the size and placement of controls displayed on top of a list cell.