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

In This Topic
    SplitContaining Method (DropDownList)
    In This Topic
    Returns the Index value of the split containing the specified coordinate pair.
    Syntax
    'Declaration
     
    
    Public Function SplitContaining( _
       ByVal x As Integer, _
       ByVal y As Integer _
    ) As Integer
    public int SplitContaining( 
       int x,
       int y
    )

    Parameters

    x
    The x coordinate in pixels.
    y
    The y coordinate in pixels.

    Return Value

    An integer corresponding to the index of the split beneath the specified coordinate pair.
    Remarks

    The returned value ranges from 0 to Split.Count - 1.

    If either argument is outside of the list's data area, this method returns -1.

    See Also