ComponentOne List for WinForms
C1.Win.C1List Namespace / C1List Class / IndexFromPoint Method
The given point.

In This Topic
    IndexFromPoint Method (C1List)
    In This Topic
    Returns the row index for a given point.
    Syntax
    'Declaration
     
    
    Public Function IndexFromPoint( _
       ByVal p As Point _
    ) As Integer
    public int IndexFromPoint( 
       Point p
    )

    Parameters

    p
    The given point.

    Return Value

    The row index.
    Remarks
    If the point is not on any row, then it will return -1. Otherwise it will return the row index.
    See Also