Table of Contents

Enum LinearRangeRenderMode

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

Selection rendering mode used by LinearRangeViewBase<TOption, TValue> to drive selection drawing and hit-testing. Each concrete subclass sets this once in its constructor (or, for LinearRange<T>, whenever RangeKind changes).

public enum LinearRangeRenderMode
Extension Methods

Fields

LeftSpan = 2

A range bounded only by an end point: "everything ≤ End".

Multiple = 1

Any number of options may be selected at the same time.

RightSpan = 3

A range bounded only by a start point: "everything ≥ Start".

Single = 0

One option may be selected at a time.

Span = 4

A range bounded by both a start and an end point.

Remarks

This enum is exposed publicly only because it appears in the protected constructor signature of LinearRangeViewBase<TOption, TValue>; library consumers should pick a concrete subclass rather than instantiate the base directly.