ComponentOne List for WinForms
C1.Win.C1List Namespace / DropDownList Class / RowContaining Method
The y coordinate in pixels.

In This Topic
    RowContaining Method (DropDownList)
    In This Topic
    Returns the zero-based index of the display row containing the specified coordinate.
    Syntax
    'Declaration
     
    
    Public Function RowContaining( _
       ByVal y As Integer _
    ) As Integer
    public int RowContaining( 
       int y
    )

    Parameters

    y
    The y coordinate in pixels.
    Remarks

    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.

    See Also