Click or drag to resize

SingleInstanceChoiceController Class

Controller for choosing and instantiating a single subtype instance.
Inheritance Hierarchy
SystemObject
  Altaxo.Gui.CommonSingleChoiceController
    Altaxo.Gui.CommonSingleInstanceChoiceController

Namespace: Altaxo.Gui.Common
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class SingleInstanceChoiceController : SingleChoiceController

The SingleInstanceChoiceController type exposes the following members.

Constructors
 NameDescription
Public methodSingleInstanceChoiceController Initializes a new instance of the SingleInstanceChoiceController class.
Top
Properties
 NameDescription
Public propertyDescriptionText Gets or sets the description text.
(Inherited from SingleChoiceController)
Public propertyModelObject Gets the model (document) that this controller manages.
(Overrides SingleChoiceControllerModelObject)
Public propertyViewObject Gets or sets the GUI element that shows the model to the user.
(Inherited from SingleChoiceController)
Top
Methods
 NameDescription
Public methodApply Called when the user input has to be applied to the document being controlled. Returns if apply is successful.
(Overrides SingleChoiceControllerApply(Boolean))
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from SingleChoiceController)
Public methodEhChoiceChanged Handles a change of the selected choice.
(Inherited from SingleChoiceController)
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.
(Inherited from SingleChoiceController)
Protected methodInitialize(String, Int32) Initializes the selectable values and the selected index.
(Inherited from SingleChoiceController)
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.
(Inherited from SingleChoiceController)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Protected field_choice The committed choice index.
(Inherited from SingleChoiceController)
Protected field_choiceTemp The temporary choice index.
(Inherited from SingleChoiceController)
Protected field_descriptionText The description text shown by the controller.
(Inherited from SingleChoiceController)
Protected field_values The selectable values.
(Inherited from SingleChoiceController)
Protected field_view The attached view.
(Inherited from SingleChoiceController)
Top
See Also