Table of Contents

Class SliderOption<T>

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Represents an option in a Slider<T> .

public class SliderOption<T>

Type Parameters

T

Data type of the option.

Inheritance
SliderOption<T>
Inherited Members

Constructors

SliderOption()

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

SliderOption(string, Rune, T)

Creates a new instance of the SliderOption<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 SliderOption<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.