ScrollBarVisibility Enumeration

Specifies the visibility of a ScrollBar for scrollable content.

Definition

Namespace: Avalonia.Controls.Primitives
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public enum ScrollBarVisibility

Members

Disabled0 No scrollbars and no scrolling in this dimension.
Auto1 The scrollbar should be visible only if there is more content than fits in the viewport.
Hidden2 The scrollbar should never be visible. No space should ever be reserved for the scrollbar.
Visible3 The scrollbar should always be visible. Space should always be reserved for the scrollbar.

See Also