Click or drag to resize

TextChoice Class

Document class that bundles a text question with a predefined set of choices.
Inheritance Hierarchy
SystemObject
  Altaxo.Gui.CommonTextChoice

Namespace: Altaxo.Gui.Common
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class TextChoice

The TextChoice type exposes the following members.

Constructors
 NameDescription
Public methodTextChoiceInitializes a new instance of the TextChoice class
Top
Properties
 NameDescription
Public propertyAllowFreeText Gets/sets whether free text choice is allowed or not allowed.
Public propertyChoices 
Public propertyDescription Description string that is shown close to the gui element where you enter the text.
Public propertySelectedIndex If a predefined choice is selected, this gets the index of the choice. If free text is given, the value is -1.
Public propertyText Get/sets the Text that is choosen by the user or entered as free text.
Public propertyTextValidationFunction 
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Protected field_choices 
Protected field_selection 
Top
See Also