Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NTreeViewEx Class / Collapse Method
The level(depth) to examine.
True to collapse child nodes also, false otherwise.


In This Topic
    Collapse Method (NTreeViewEx)
    In This Topic
    Collapses all nodes which are at the specified level in the tree.
    Syntax
    'Declaration
     
    
    Public Sub Collapse( _
       ByVal level As System.Integer, _
       ByVal recursive As System.Boolean _
    ) 
    'Usage
     
    
    Dim instance As NTreeViewEx
    Dim level As System.Integer
    Dim recursive As System.Boolean
     
    instance.Collapse(level, recursive)
    public void Collapse( 
       System.int level,
       System.bool recursive
    )

    Parameters

    level
    The level(depth) to examine.
    recursive
    True to collapse child nodes also, false otherwise.
    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