[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Enables or disables drawing the root node for the tree view control.
Source position: comctrls.pp line 3680
protected property TCustomTreeView.ShowRoot : Boolean |
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.
|
The set of options enabled in the tree view control. |
|
|
Enables an expand/collapse (fold/unfold) icon for nodes with child nodes. |
|
|
Enables or disables the horizontal and vertical lines which join nodes in the tree hierarchy. |
|
|
Indicates whether horizontal separator lines are drawn between nodes on the tree view control. |
|
|
Sets the drawing style for the expand / collapse (fold/unfold) indicators for tree nodes. |
|
|
Color used to paint expand / collapse (fold / unfold) indicators for tree nodes. |
|
|
Size of the expand / collapse (fold / unfold) indicators for tree nodes. |
|
|
Width of the lines drawn for the expand/collapse indicator when using the tvestAngleBracket drawing style. |
Version 3.2 | Generated 2024-02-25 | Home |