Specifies whether the node displays the +/- buttons.
Type
Description
Boolean
A boolean expression that indicates whether the node displays the +/- button.
By default, the HasButton property is True. Use the
HasButton property to hide the +/- buttons for a particular node. Use the HasButtons
property to display +/- buttons for parent nodes. The node displays the +/-
button only if the node contains child nodes, and the HasButton property is
True. Use the ExpandOnDblClick
property to specify whether a node is expanded or collapsed when the user
double clicks it. Use the EnsureVisibleNode
method to ensure that a node fits the control's visible client area. Use the SelectNode
property to select a node. The Expanded
property sets or returns whether a node in the hierarchy is expanded. Use the Parent
property to get the parent node. Use the ButtonsAlign
property to align the +/- expand buttons in the node.