Nevron .NET Vision
Nevron.Diagram Namespace / NSceneTreeViewControl Class / AddTreeNodeChildren Method
TreeNode of the parent
INDiagramElementContainer, whose children need to be added to the parentNode


In This Topic
    AddTreeNodeChildren Method
    In This Topic
    Recursive method, which wraps the specified container children as TreeNodes and adds them as children of the specified parentNode.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub AddTreeNodeChildren( _
       ByVal parentNode As System.Windows.Forms.TreeNode, _
       ByVal container As INDiagramElementContainer _
    ) 
    'Usage
     
    
    Dim instance As NSceneTreeViewControl
    Dim parentNode As System.Windows.Forms.TreeNode
    Dim container As INDiagramElementContainer
     
    instance.AddTreeNodeChildren(parentNode, container)
    protected virtual void AddTreeNodeChildren( 
       System.Windows.Forms.TreeNode parentNode,
       INDiagramElementContainer container
    )

    Parameters

    parentNode
    TreeNode of the parent
    container
    INDiagramElementContainer, whose children need to be added to the parentNode
    Remarks
    The method is called recursively for all children, which implement INDiagramElementContainer
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also