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

If True, the control displays an expand button for the root level node. If False, the root node has no expand button.

Remarks

Examples

Value Example
True The Root Expand Button is Visible
False The Root Expand Button is Hidden

Note

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