Skip to main content

TdxTreeViewControlOptionsView.ShowRoot Property

Specifies if the Tree View control displays lines and expand buttons of nodes at the top nesting level.

Declaration

property ShowRoot; default True;

Property Value

Type Default Description
Boolean True

If True, the Tree View control displays lines and expand buttons of the root‘s children. If False, these lines and expand buttons are hidden.

Remarks

Options include:

Value

Example

True

Displayed Lines and Expand Buttons

False

Hidden Lines and Expand Buttons

Note

A user is unable to expand and collapse nodes at the top nesting level if the ShowRoot property is set to False.

ShowRoot property value changes have no effect if all lines and expand buttons are hidden (that is, the control’s OptionsView.ShowLines and OptionsView.ShowExpandButtons are set to False).

See Also