Xceed Ultimate ListBox 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
Public Function IndexOf( _
   ByVal item As FrameworkElement _
) As Integer
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 SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DragDropContext.SiblingsCollection Class
DragDropContext.SiblingsCollection Members

Send Feedback