Skip to main content

TreeList.HorzScrollVisibility Property

Gets or sets a value specifying when the horizontal scrollbar should be displayed.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v24.1.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

[DefaultValue(ScrollVisibility.Auto)]
[XtraSerializableProperty]
public virtual ScrollVisibility HorzScrollVisibility { get; set; }

Property Value

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.

Remarks

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