WinUI | ComponentOne
C1.WinUI.Core Assembly / C1.WinUI.Core Namespace / C1HierarchicalPresenter Class / InitializeItem Method
The C1HierarchicalPresenter whose this item belongs to.
In This Topic
    InitializeItem Method (C1HierarchicalPresenter)
    In This Topic
    Initializes a C1HierarchicalPresenter by setting its parent and root elements in the hierarchy.
    Syntax
    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