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.ScrollBars Property

Specifies which scrollbars the Tree View control can display.

#Declaration

Delphi
property ScrollBars; default ssBoth;

#Property Value

Type Default Description
TcxScrollStyle ssBoth

A set of scrollbars.

#Remarks

Options include:

Value Description
ssBoth The control can display the horizontal and vertical scrollbars.
ssHorizontal The control can display only the horizontal scrollbar.
ssVertical The control can display only the vertical scrollbar.
ssNone The control displays no scrollbars.

Note

The Tree View shows scrollbars if all tree nodes do not fit in the control.

You can call the control’s MakeVisible and ScrollBy procedures to scroll the control, even if the ScrollBars property is set to ssNone.

A user can press the Up and Down arrow buttons to move focus to a node outside the control’s client area. These actions scroll the control vertically, even if the ScrollBars property is set to ssHorizontal or ssNone.

See Also