Skip to main content

TdxShellTreeViewControlOptionsView.ShowRoot Property

Specifies if the Shell Tree View control displays an expand button for the root level node.

Declaration

property ShowRoot; default True;

Property Value

Type Default Description
Boolean True
True
Default. The control displays an expand button for the root level node.
False
The root node has no expand button.

Remarks

Property Value Examples

Value Example
True VCL Editors Library: The Root Expand Button is Visible
False VCL Editors Library: The Root Expand Button is Hidden

Limitations

  • A user is unable to expand and collapse the root node if the ShowRoot property is set to False. You can set the Shell List View control’s OptionsBehavior.AutoExpand property to True to allow users to click nodes to expand them.
  • ShowRoot property value changes have no effect if all expand buttons are hidden (that is, the ShowLines property is set to False).
See Also