windowsforms-devexpress-dot-xtratreelist-dot-treelist-0aa4eb8a.md
Gets or sets a value specifying when the horizontal scrollbar should be displayed.
Namespace : DevExpress.XtraTreeList
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
[DefaultValue(ScrollVisibility.Auto)]
[XtraSerializableProperty]
public virtual ScrollVisibility HorzScrollVisibility { get; set; }
<DefaultValue(ScrollVisibility.Auto)>
<XtraSerializableProperty>
Public Overridable Property HorzScrollVisibility As ScrollVisibility
| Type | Default | Description |
|---|---|---|
| ScrollVisibility | Auto |
A ScrollVisibility enumeration value specifying when the horizontal scrollbar should be displayed.
|
Available values:
| Name | Description |
|---|---|
| Never |
The scrollbar is invisible regardless of whether data scrolling can be performed.
| | Always |
The scrolling element is always visible.
| | Auto |
The scrolling element is only visible when data scrolling can be performed.
|
If this property is set to the ScrollVisibility.Never value, the horizontal scrollbar is hidden and end-users can only navigate within the control horizontally using the keyboard.
See Also