MVCANControllerEditOriginalDocBaseTModel, TViewApply Method |
Called when the user input has to be applied to the document being controlled. Returns true if Apply is successfull.
Namespace: Altaxo.GuiAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public abstract bool Apply(
bool disposeController
)
Parameters
- disposeController Boolean
- If the Apply operation was successfull, and this argument is true, the controller should release all temporary resources, because they are not needed any more.
If this argument is false, the controller should be reinitialized with the current model (the model that results from the Apply operation).
Return Value
Boolean
True if the apply operation was successfull, otherwise false. If false is returned, the
disposeController argument is ignored: thus the controller is not disposed.
Implements
IApplyControllerApply(Boolean)Remarks
This function is called in two cases: Either the user pressed OK or the user pressed Apply.
See Also