TreeView for WinForms | ComponentOne
C1.Win.TreeView Namespace / C1TreeNode Class / Collapse Method
If true then sets all child nodes to the collapsed state.

In This Topic
    Collapse Method (C1TreeNode)
    In This Topic
    Sets the tree node to the collapsed state.
    Syntax
    'Declaration
     
    
    Public Sub Collapse( _
       Optional ByVal allChildrens As Boolean _
    ) 
    public void Collapse( 
       bool allChildrens
    )

    Parameters

    allChildrens
    If true then sets all child nodes to the collapsed state.
    See Also