Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.ListBox Assembly / Xceed.Wpf.ListBox Namespace / SelectedItemsWrapper Class / IndexOf Method
The Object to locate in the SelectedItemsWrapper.


In This Topic
    IndexOf Method (SelectedItemsWrapper)
    In This Topic
    Determines the index of a specific item in the SelectedItemsWrapper.
    Syntax
    'Declaration
     
    Public Function IndexOf( _
       ByVal value As Object _
    ) As Integer
    'Usage
     
    Dim instance As SelectedItemsWrapper
    Dim value As Object
    Dim value As Integer
     
    value = instance.IndexOf(value)
    public int IndexOf( 
       object value
    )

    Parameters

    value
    The Object to locate in the SelectedItemsWrapper.

    Return Value

    The index of value if found in the SelectedItemsWrapper; otherwise, -1.
    Requirements

    Target Platforms: Windows 11, Windows 10, 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