Click or drag to resize

IConditionalDocumentController Interface

Interface for model in the view.

Namespace: Altaxo.Gui.Common
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public interface IConditionalDocumentController : INotifyPropertyChanged, 
	IMVCANController, IMVCAController, IMVCController, IDisposable, IApplyController

The IConditionalDocumentController type exposes the following members.

Properties
 NameDescription
Public propertyEnablingText Gets the text used to enable the conditional view.
Public propertyIsConditionalViewEnabled Gets a value indicating whether the conditional view is enabled.
Public propertyModelObject Gets the model (document) that this controller manages.
(Inherited from IMVCController)
Public propertyModelObjectOrNull Gets the model object or if the conditional view is disabled.
Public propertyUnderlyingView Gets the underlying view object, if enabled.
Public propertyUseDocumentCopy Sets whether or not a copy of the document is used. If set to true, a copy of the document is used, so if the controller is not applied, all changes can be reverted. If set to false, no copy must be made. The document is directly changed by the controller, and changes cannot be reverted. Use the last option if a controller higher in the hierarchy has already made a copy of the document.
(Inherited from IMVCANController)
Public propertyViewObject Gets or sets the GUI element that shows the model to the user.
(Inherited from IMVCController)
Top
Methods
 NameDescription
Public methodApply Called when the user input has to be applied to the document being controlled. Returns if apply is successful.
(Inherited from IApplyController)
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodInitializeDocument Initializes the controller with the document.
(Inherited from IMVCANController)
Public methodRevert Try to revert changes to the model, i.e. restores the original state of the model.
(Inherited from IApplyController)
Top
Events
 NameDescription
Public eventPropertyChangedOccurs when a property value changes.
(Inherited from INotifyPropertyChanged)
Top
See Also