Expand Buttons
An Expand Button is displayed if the corresponding node has children, and enables end-users to expand or collapse it.
When a node is collapsed, the expand button displays a ‘plus’ sign, indicating that the node can be expanded by clicking the button. Once a node has been expanded, the button displays a ‘minus’ sign.
You can toggle the visibility of expand buttons via the TreeViewSettings.ShowExpandButtons property. Regardless of the property value, end-users can expand or collapse nodes by double-clicking them.
The table below lists the main members that affect element appearance and functionality.
Characteristics | Members |
---|---|
Visibility | |
Image | TreeViewImages.ExpandButton (via TreeViewSettings.Images.ExpandButton), TreeViewImages.ExpandButtonRtl (via TreeViewSettings.Images.ExpandButtonRtl), TreeViewImages.CollapseButton (via TreeViewSettings.Images.CollapseButton), TreeViewImages.CollapseButtonRtl (via TreeViewSettings.Images.CollapseButtonRtl) |