Table of Contents

Class LinearRange

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

Provides a linear range control letting the user navigate from a set of typed options in a linear manner using the keyboard or mouse.

public class LinearRange : LinearRange<object>, IDisposable, ISupportInitializeNotification, ISupportInitialize, IOrientation
Inheritance
LinearRange
Implements
Inherited Members
Extension Methods

Remarks

Default key bindings (when Orientation is Horizontal):

KeyAction
Left / RightMoves to the previous or next option.
Ctrl+Left / Ctrl+RightMoves by a larger step.

Default key bindings (when Orientation is Vertical):

KeyAction
Up / DownMoves to the previous or next option.
Ctrl+Up / Ctrl+DownMoves by a larger step.

Common key bindings (both orientations):

KeyAction
Home / EndMoves to the first or last option.
EnterAccepts the current selection (Accept).
SpaceActivates the current selection (Activate).

Constructors

LinearRange()

Initializes a new instance of the LinearRange class.

LinearRange(List<object>, Orientation)

Initializes a new instance of the LinearRange class.

Properties

DefaultCursorStyle

Gets or sets the default cursor style.