ChoiceOption

Description

sealed class Tinman.Engine.GUI.Components.ChoiceOption

Derived from

ITextProperty

Represents an option in a Choice component.

The ITextProperty.Text property

Public / Constructors

Choice​Option


public constructor ChoiceOption → (2)

text in : string

Initial value for ITextProperty.Text.

data opt : object = null

Initial value for Data.

Creates a new instance of ChoiceOption.

Public / Attributes

Data


public attribute Data → (get,set)

value : object

The user data object or null.

Optional user data object that is associated with this choice option.