Table of Contents

Class LinearRangeOption<T>

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

Represents an option in a LinearRange<T> .

public class LinearRangeOption<T>

Type Parameters

T

Data type of the option.

Inheritance
LinearRangeOption<T>
Inherited Members

Constructors

LinearRangeOption()

Creates a new empty instance of the LinearRangeOption<T> class.

LinearRangeOption(string, Rune, T)

Creates a new instance of the LinearRangeOption<T> class with values for each property.

Properties

Data

Custom data of the option.

Legend

Legend of the option.

LegendAbbr

Abbreviation of the Legend. When the MinimumInnerSpacing too small to fit Legend.

Methods

ToString()

Creates a human-readable string that represents this LinearRangeOption<T>.

Events

Changed

Event fired when an option has changed.

Set

Event Raised when this option is set.

UnSet

Event Raised when this option is unset.