Basic Library for WPF and Silverlight | ComponentOne
C1.WPF Namespace / C1TreeView Class / InitializeItem Method
The C1.Silverlight.C1HierarchicalPresenter whose this item belongs to.

In This Topic
    InitializeItem Method (C1TreeView)
    In This Topic
    Initializes a C1.Silverlight.C1HierarchicalPresenter by setting its parent and root elements in the hierarchy.
    Syntax
    'Declaration
     
    
    Public Sub InitializeItem( _
       ByVal rootPresenter As C1HierarchicalPresenter _
    ) 
    public void InitializeItem( 
       C1HierarchicalPresenter rootPresenter
    )

    Parameters

    rootPresenter
    The C1.Silverlight.C1HierarchicalPresenter whose this item belongs to.
    Remarks
    This method should be invoked only when we want to force the initialization of an item before it gets visible. Otherwise the item will be initialized automatically before becoming visible.
    See Also