Sign in Join
FPDoc Onlineexperiment

TShellTreeView.ShowRoot property

Member of TShellTreeViewpublishedIn unit ShellCtrls

Enables or disables drawing the root node for the tree view control.

Declaration

pascal
property ShowRoot:;

Description

ShowRoot is a Boolean property which Enables or disables drawing the root node for the tree view control.

When enabled, the root node is represented by an expand / collapse indicator which does not contain any text. Top-level nodes which have child nodes also have expand / collapse indicators when ShowRoot is enabled. When disabled, the expand / collapse indicators at the top-level of the node hierarchy are omitted and only the text for the top-level nodes is displayed. The default value for the property is True.

ShowRoot is a convenience property; its value is read from and written to the Options for the control. ShowRoot contains True when the value tvoShowRoot has been included in the Options property, and False if the value has been omitted. Changing the value for the property causes Options to be updated to include or exclude tvoShowRoot as needed for the Boolean value. The control is redrawn when the value in Options is modified.

This description is the one of ComCtrls.TCustomTreeView.ShowRoot.

See also

  • Options
  • ShowButtons
  • ShowLines
  • ShowSeparators
  • ExpandSignType
  • ExpandSignColor
  • ExpandSignSize
  • ExpandSignWidth

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.