Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxTreeViewControlOptionsView.ShowRoot Property

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

#Declaration

Delphi
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