Search
DiagramNode.Expanded Property
See Also
 





Gets or sets a value indicating whether the subtree starting from this node is expanded.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public virtual bool Expanded { get; set; }

Visual Basic  Copy Code

Public Overridable Property Expanded As Boolean

 Property Value

true if the tree starting from this node is expanded; otherwise, false.

 Remarks

This property is useful mostly when nodes form a tree-like hierarchical structure. Set it to false to make the subtree starting from a node collapse, with all its child nodes and links becoming invisible. Set it to true to show the child nodes and links again.

A user is allowed to expand or collapse the tree that starts from a node interactively if the Expandable property of that node is enabled.

 See Also