ComponentOne FinancialChart for WPF
C1.WPF Namespace / C1ListViewer Class / GetIndexAt Method
The point in the screen relative to this control.



In This Topic
    GetIndexAt Method (C1ListViewer)
    In This Topic
    Gets the index of the item at the specified position in the screen.
    Syntax
    'Declaration
     
    
    Public Function GetIndexAt( _
       ByVal screenPoint As Point _
    ) As Integer
    'Usage
     
    
    Dim instance As C1ListViewer
    Dim screenPoint As Point
    Dim value As Integer
     
    value = instance.GetIndexAt(screenPoint)
    public int GetIndexAt( 
       Point screenPoint
    )
    public:
    int GetIndexAt( 
       Point screenPoint
    ) 

    Parameters

    screenPoint
    The point in the screen relative to this control.

    Return Value

    The index of the item, otherwise -1
    See Also