Scheduler for WPF and Silverlight | ComponentOne
C1.Silverlight.Schedule Namespace / ItemContainerGenerator Class / ContainerFromIndex Method
The index of the desired item.

In This Topic
    ContainerFromIndex Method
    In This Topic
    Returns the container element corresponding to the item at the given index within the ItemCollection.
    Syntax
    'Declaration
     
    
    Public Function ContainerFromIndex( _
       ByVal index As Integer _
    ) As DependencyObject
    public DependencyObject ContainerFromIndex( 
       int index
    )

    Parameters

    index
    The index of the desired item.

    Return Value

    Returns the element corresponding to the item at the given index within the ItemCollection or returns a null reference if the item is not realized.
    See Also