ComponentOne Basic Library for WPF and Silverlight
GetIndexAt Method (C1ListViewer)


C1.Silverlight Namespace > C1ListViewer Class : GetIndexAt Method
The point in the screen relative to this control.
Gets the index of the item at the specified position in the screen.
Syntax
'Declaration
 
Public Function GetIndexAt( _
   ByVal screenPoint As System.Windows.Point _
) As System.Integer
'Usage
 
Dim instance As C1ListViewer
Dim screenPoint As System.Windows.Point
Dim value As System.Integer
 
value = instance.GetIndexAt(screenPoint)
public System.int GetIndexAt( 
   System.Windows.Point screenPoint
)

Parameters

screenPoint
The point in the screen relative to this control.

Return Value

The index of the item, otherwise -1
See Also

Reference

C1ListViewer Class
C1ListViewer Members