ScrollBarVisibility Enum
Definition
Specifies the visibility of a Avalonia.Controls.Primitives.ScrollBar for scrollable content.
public enum ScrollBarVisibility
Fields
| Name | Description |
|---|---|
| Auto | The scrollbar should be visible only if there is more content than fits in the viewport. |
| Disabled | No scrollbars and no scrolling in this dimension. |
| Hidden | The scrollbar should never be visible. No space should ever be reserved for the scrollbar. |
| Visible | The scrollbar should always be visible. Space should always be reserved for the scrollbar. |
Auto Field
The scrollbar should be visible only if there is more content than fits in the viewport.
public Avalonia.Controls.Primitives.ScrollBarVisibility Auto
Disabled Field
No scrollbars and no scrolling in this dimension.
public Avalonia.Controls.Primitives.ScrollBarVisibility Disabled
Hidden Field
The scrollbar should never be visible. No space should ever be reserved for the scrollbar.
public Avalonia.Controls.Primitives.ScrollBarVisibility Hidden
Visible Field
The scrollbar should always be visible. Space should always be reserved for the scrollbar.
public Avalonia.Controls.Primitives.ScrollBarVisibility Visible