Click or drag to resize

ConditionalDocumentControllerWithDisabledViewTModel(FuncTModel, FuncTModel, FuncTModel, UseDocument, IMVCANController) Constructor

Initializes a new instance of the ConditionalDocumentControllerWithDisabledViewTModel class.

Namespace: Altaxo.Gui.Common
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public ConditionalDocumentControllerWithDisabledView(
	Func<TModel> DocumentCreationActionForEnabledState,
	Func<TModel> DocumentCreationActionForDisabledState,
	Func<TModel, UseDocument, IMVCANController?> ControllerCreationAction
)

Parameters

DocumentCreationActionForEnabledState  FuncTModel
The action that creates the document for the enabled state.
DocumentCreationActionForDisabledState  FuncTModel
The action that creates the document for the disabled state.
ControllerCreationAction  FuncTModel, UseDocument, IMVCANController
The action that creates a controller for the document.
See Also