Table of Contents

Property ScrollOffset

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

ScrollOffset

Gets or sets the current scroll offset for the tab headers. Adjusting this value scrolls the tab headers along the TabSide edge.

public int ScrollOffset { get; set; }

Property Value

int

Remarks

The value is clamped to a valid range: negative values are clamped to 0, and values exceeding the total header span are clamped so that the last tab remains visible.

Setting this property updates all tab TabOffset values, updates scroll button visibility, and triggers a layout pass.