Xceed DataGrid for Silverlight Documentation
IndexOf Method (DragDropContext.SiblingsCollection)


The object to locate in the collection.
Searches for the specified object and returns the zero-based index of the first occurrence within the entire collection.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal item As FrameworkElement _
) As Integer
'Usage
 
Dim instance As DragDropContext.SiblingsCollection
Dim item As FrameworkElement
Dim value As Integer
 
value = instance.IndexOf(item)
public int IndexOf( 
   FrameworkElement item
)

Parameters

item
The object to locate in the collection.

Return Value

The zero-based index of the first occurrence of item within the entire collection, if found; otherwise, -1.
Requirements

Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family

See Also

Reference

DragDropContext.SiblingsCollection Class
DragDropContext.SiblingsCollection Members

Send Feedback