Sparkline for UWP | ComponentOne
C1.UWP Assembly / C1.Xaml Namespace / C1Menu Class / InitializeItem Method
The C1.Silverlight.C1HierarchicalPresenter whose this item belongs to.

In This Topic
    InitializeItem Method (C1Menu)
    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