Click or drag to resize

TextValueInputController Class

Controller that edits a single text value through an ISingleValueView.
Inheritance Hierarchy
SystemObject
  Altaxo.Gui.CommonTextValueInputController

Namespace: Altaxo.Gui.Common
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class TextValueInputController : IMVCAController, 
	IMVCController, IDisposable, IApplyController

The TextValueInputController type exposes the following members.

Constructors
 NameDescription
Public methodTextValueInputController Initializes a new instance of the TextValueInputController class.
Top
Properties
 NameDescription
Public propertyInputText Gets the current input text.
Public propertyModelObject Gets the model (document) that this controller manages.
Public propertyValidator Sets the validator used to validate the input text.
Public propertyViewObject Gets or sets the GUI element that shows the model to the user.
Top
Methods
 NameDescription
Public methodApply Called when the user input has to be applied to the document being controlled. Returns if apply is successful.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEhView_ValidatingValue1 Validates the current text entered in the view.
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 methodRevert Try to revert changes to the model, i.e. restores the original state of the model.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also