Click or drag to resize

SingleValueController Class

Controller for a single value. This is a string here, but in derived classes, that can be anything that can be converted to and from a string.
Inheritance Hierarchy
SystemObject
  Altaxo.Gui.CommonSingleValueController

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

The SingleValueController type exposes the following members.

Constructors
 NameDescription
Public methodSingleValueController Initializes a new instance of the SingleValueController class.
Top
Properties
 NameDescription
Public propertyDescriptionText Gets or sets the description text.
Public propertyModelObject Gets the model (document) that this controller manages.
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 Handles validation of the value text.
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 methodInitialize Initializes the view from the current controller state.
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
Fields
 NameDescription
Protected field_descriptionText The description text.
Protected field_value1String The committed value string.
Protected field_value1StringTemporary The temporary value string.
Protected field_view The attached view.
Top
See Also