property Group.HasButtons as ExpandButtonEnum

Adds a button to the left side of each parent item.

TypeDescription
ExpandButtonEnum An ExpandButtonEnum expression that indicates whether the left side button of each parent item is visible or hidden.

The HasButtons property has effect only if the data is displayed as a tree. Use the InsertItem property to insert child items. The user can click the button to expand or collapse the child items as an alternative to double-clicking the parent item. Use ExpandItem property of Items to programmatically expand/collapse items. Use the HasButtonsCaption property to assign custom icons for +/- buttons.