Share via


INodeContainer.SetExpansionStateForNode Method

Definition

set the expansion state of a node

public:
 void SetExpansionStateForNode(Microsoft::VisualStudio::Workspace::VSIntegration::UI::WorkspaceVisualNodeBase ^ node, bool expanded, bool recursive);
public void SetExpansionStateForNode (Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase node, bool expanded, bool recursive);
abstract member SetExpansionStateForNode : Microsoft.VisualStudio.Workspace.VSIntegration.UI.WorkspaceVisualNodeBase * bool * bool -> unit
Public Sub SetExpansionStateForNode (node As WorkspaceVisualNodeBase, expanded As Boolean, recursive As Boolean)

Parameters

node
WorkspaceVisualNodeBase

The node whose expansion state is to be changed.

expanded
Boolean

true = expanded, false = collapsed

recursive
Boolean

apply the state for children

Applies to