Nevron.UI.WinForm.Controls Namespace / NTreeNode Class / ExpandCollapseMode Property


In This Topic
    ExpandCollapseMode Property
    In This Topic
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    <System.ComponentModel.DescriptionAttribute("Gets/sets the expand mode of the node. When Automatic the behavior will depend on the children nodes. When Always the node will fire NodeExpanding, NodeExpanded notifications regardless of its children collection. This mode is useful for building dynamic/virtual tree-view.")>
    Public Property ExpandCollapseMode As TreeNodeExpandCollapseMode
    'Usage
     
    
    Dim instance As NTreeNode
    Dim value As TreeNodeExpandCollapseMode
     
    instance.ExpandCollapseMode = value
     
    value = instance.ExpandCollapseMode
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    [System.ComponentModel.Description("Gets/sets the expand mode of the node. When Automatic the behavior will depend on the children nodes. When Always the node will fire NodeExpanding, NodeExpanded notifications regardless of its children collection. This mode is useful for building dynamic/virtual tree-view.")]
    public TreeNodeExpandCollapseMode ExpandCollapseMode {get; set;}
    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