Table of Contents

Method EnsureValidScrollOffsets

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

EnsureValidScrollOffsets(int)

Updates TabScrollOffset to be a valid index of Tabs.

public int EnsureValidScrollOffsets(int value)

Parameters

value int

The value to validate.

Returns

int

The valid TabScrollOffset for the given value.

Remarks

Changes will not be immediately visible in the display until you call SetNeedsDraw().