Click or drag to resize

MultiChildController Class

Controller for a set of child IMVCAControllers.
Inheritance Hierarchy
SystemObject
  Altaxo.Gui.CommonMultiChildController

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

The MultiChildController type exposes the following members.

Constructors
 NameDescription
Protected methodMultiChildController Initializes a new instance of the MultiChildController class.
Public methodMultiChildController(IMVCAController) Initializes a new instance of the MultiChildController class.
Public methodMultiChildController(ControlViewElement, Boolean) Initializes a new instance of the MultiChildController class.
Public methodMultiChildController(IMVCAController, Boolean) Initializes a new instance of the MultiChildController 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.
Protected methodEhView_ChildControlEntered Handles activation changes between child controls.
Protected methodEhView_ChildControlValidated Handles validation of the current child control.
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 attached view with the current child-controller configuration.
Public methodInitialize(ControlViewElement, Boolean) Initializes the controller with described child views.
Public methodInitialize(IMVCAController, Boolean) Initializes the controller with child controllers.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRefresh Refreshes all refreshable child controllers.
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
Events
 NameDescription
Public eventChildControlChangedEvent fired when one of the child controls is leaved.
Top
Fields
 NameDescription
Protected field_childController Stores the child controllers together with their associated views.
Protected field_descriptionText Stores the description text shown by the view.
Protected field_horizontalLayout Indicates whether the child controls should be arranged horizontally.
Protected field_view Stores the attached view.
Top
See Also