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 |
#Remarks
#Property Value Examples
Value | Example |
---|---|
True |
![]() |
False |
![]() |
#Limitations
- A user is unable to expand and collapse the root node if the
ShowRoot
property is set toFalse
. You can set the Shell List View control’s OptionsBehavior.AutoExpand property toTrue
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 toFalse
).
See Also