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

In This Topic
    InitializeItem Method (C1TreeViewItem)
    In This Topic
    Initializes a 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 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