Table of Contents

Enum ScrollBarVisibility

Namespace
Avalonia.Controls.Primitives
Assembly
Avalonia.Controls.dll

Specifies the visibility of a ScrollBar for scrollable content.

public enum ScrollBarVisibility

Fields

Auto = 1

The scrollbar should be visible only if there is more content than fits in the viewport.

Disabled = 0

No scrollbars and no scrolling in this dimension.

Hidden = 2

The scrollbar should never be visible. No space should ever be reserved for the scrollbar.

Visible = 3

The scrollbar should always be visible. Space should always be reserved for the scrollbar.