Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / C1HierarchicalPresenter Class / ToList<T>() Method
The type of the container, e.g. C1TreeViewItem

In This Topic
    ToList<T>() Method
    In This Topic
    Creates a list with all the item containers present in the Hierarchical Presenter at the moment of invocation.
    Syntax
    'Declaration
     
    
    Public Function ToList(Of T As C1HierarchicalPresenter)() As IList(Of T)
    public IList<T> ToList<T>()
    where T: C1HierarchicalPresenter

    Type Parameters

    T
    The type of the container, e.g. C1TreeViewItem

    Return Value

    The list of item containers.
    See Also