INodeContainer.SetExpansionStateForNode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The node whose expansion state is to be changed.
- expanded
- Boolean
true = expanded, false = collapsed
- recursive
- Boolean
apply the state for children