Click or drag to resize

ConditionalDocumentControllerWithDisabledViewTModel Class

Controller that shows to documents: one document in the enabled state, which can be changed. And another document in the disabled state, which can not be changed.
Inheritance Hierarchy
SystemObject
  Altaxo.Gui.CommonConditionalDocumentControllerWithDisabledViewTModel

Namespace: Altaxo.Gui.Common
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class ConditionalDocumentControllerWithDisabledView<TModel> : IConditionalDocumentController, 
	INotifyPropertyChanged, IMVCANController, IMVCAController, IMVCController, IDisposable, 
	IApplyController

Type Parameters

TModel
The type of the model.

The ConditionalDocumentControllerWithDisabledViewTModel type exposes the following members.

Constructors
 NameDescription
Public methodConditionalDocumentControllerWithDisabledViewTModel(FuncTModel, FuncTModel)Initializes a new instance of the ConditionalDocumentControllerWithDisabledViewTModel class
Public methodConditionalDocumentControllerWithDisabledViewTModel(FuncTModel, FuncTModel, FuncTModel, UseDocument, IMVCANController)Initializes a new instance of the ConditionalDocumentControllerWithDisabledViewTModel class
Top
Properties
Methods
 NameDescription
Public methodApply 
Public methodDisposeReleases all resources used by the ConditionalDocumentControllerWithDisabledViewTModel
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)
Public methodInitializeDocument Initialize the controller with the document. If successfull, the function has to return true. Here, you can give two arguments. The first is the document for the enabled state, the second is the document to show in the disabled state.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOnEnabledChanged 
Protected methodOnPropertyChanged 
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 eventPropertyChanged 
Top
See Also