Table of Contents

Property VisibilityMode

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

VisibilityMode

Gets or sets how this ScrollBar manages its own Visible state.

public ScrollBarVisibilityMode VisibilityMode { get; set; }

Property Value

ScrollBarVisibilityMode

Remarks

The default is Manual, meaning the scrollbar does not automatically manage its visibility.

For built-in View scrollbars (VerticalScrollBar and HorizontalScrollBar), use the HasVerticalScrollBar and HasHorizontalScrollBar flags to enable them. Setting these flags automatically sets VisibilityMode to Auto.