Back to Devexpress

TreeList.HorzScrollVisibility Property

windowsforms-devexpress-dot-xtratreelist-dot-treelist-0aa4eb8a.md

latest2.2 KB
Original Source

TreeList.HorzScrollVisibility Property

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

Declaration

csharp
[DefaultValue(ScrollVisibility.Auto)]
[XtraSerializableProperty]
public virtual ScrollVisibility HorzScrollVisibility { get; set; }
vb
<DefaultValue(ScrollVisibility.Auto)>
<XtraSerializableProperty>
Public Overridable Property HorzScrollVisibility As ScrollVisibility

Property Value

TypeDefaultDescription
ScrollVisibilityAuto

A ScrollVisibility enumeration value specifying when the horizontal scrollbar should be displayed.

|

Available values:

NameDescription
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

ScrollVisibility

VertScrollVisibility

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace