Scheduler for WPF and Silverlight | ComponentOne
C1.Silverlight.Schedule Namespace / GroupedListBox Class / GetIndexForListBoxItem Method
The container that corresponds to the item to the index to be returned.

In This Topic
    GetIndexForListBoxItem Method (GroupedListBox)
    In This Topic
    Returns the index to an item that corresponds to the specified, generated container element.
    Syntax
    'Declaration
     
    
    Protected Function GetIndexForListBoxItem( _
       ByVal item As ListBoxItem _
    ) As Integer
    protected int GetIndexForListBoxItem( 
       ListBoxItem item
    )

    Parameters

    item
    The container that corresponds to the item to the index to be returned.

    Return Value

    An index to an item that corresponds to the specified, generated container element.
    See Also