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

In This Topic
    IndexFromContainer Method
    In This Topic
    Returns the index to an item that corresponds to the specified, generated container element.
    Syntax
    'Declaration
     
    
    Public Function IndexFromContainer( _
       ByVal container As DependencyObject _
    ) As Integer
    public int IndexFromContainer( 
       DependencyObject container
    )

    Parameters

    container
    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