TdxShellTreeViewControlOptionsView.ScrollBars Property
Specifies which scroll bars the Shell Tree View control can display.
Declaration
property ScrollBars; default ssBoth;
Property Value
Type | Default | Description |
---|---|---|
TcxScrollStyle | ssBoth | The available scroll bars. |
Remarks
Use the ScrollBars
property to define which scroll bars the Shell Tree View control can display when its content does not fit into the client area. Refer to the following table for detailed information on available options:
Value | Description |
---|---|
ssBoth |
The control can display the horizontal and vertical scroll bars. |
ssHorizontal |
The control can display only the horizontal scroll bar. |
ssVertical |
The control can display only the vertical scroll bar. You can set the ShowEndEllipsis property to True to display an ellipsis at the end of node captions that do not fit into the control’s client area in this mode. |
ssNone |
The control displays no scroll bars. You can set the ShowEndEllipsis property to True to display an ellipsis at the end of node captions that do not fit into the control’s client area in this mode. |
Note
You can call the control’s MakeVisible or ScrollBy procedures to scroll the displayed tree, even if the ScrollBars
property is set to ssNone
.
A user can press the Up and Down Arrow keys to move focus to a node outside the control’s client area. The focus move operation can scroll the Shell Tree View control vertically, even if the ScrollBars
property is set to ssHorizontal
or ssNone
.
The ScrollBars
property’s default value is [ssBoth](xref:Vcl.StdCtrls.ssBoth)
.