Skip to main content

ScrollBarVisibility Enumeration

Specifies the visibility of a ScrollBar for scrollable content.

Definition​

Namespace: Avalonia.Controls.Primitives
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public enum ScrollBarVisibility
View Source

Members​

Disabled0No scrollbars and no scrolling in this dimension.
Auto1The scrollbar should be visible only if there is more content than fits in the viewport.
Hidden2The scrollbar should never be visible. No space should ever be reserved for the scrollbar.
Visible3The scrollbar should always be visible. Space should always be reserved for the scrollbar.

See Also​

Reference​

Avalonia.Controls.Primitives Namespace