Table of Contents

Method MoveUp

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

MoveUp(bool)

Changes the SelectedItem to the previous item in the list, scrolling the list if needed.

public bool MoveUp(bool extend = false)

Parameters

extend bool

If true and MarkMultiple is enabled, extends the selection from the anchor to the new item. If false, clears any existing multi-selection.

Returns

bool

true if the selection was moved.

Remarks

When the selection is already at the first item and TabStop is NoStop, the selection wraps around to the last item. Otherwise the method returns false without changing the selection.