Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxShellTreeViewControlOptionsView.ShowRoot Property

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

#Declaration

Delphi
property ShowRoot; default True;

#Property Value

Type Default Description
Boolean True

If True, the control displays an expand button for the root level node. If 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