Class SliderOption | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

Represents an option in a Slider .

public class SliderOption<T>

Type Parameters

T

Data type of the option.

Inheritance

SliderOption

Inherited Members

Constructors

SliderOption()

Creates a new empty instance of the SliderOption class.

SliderOption(string, Rune, T)

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

Methods

ToString()

Creates a human-readable string that represents this SliderOption.

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.