Click or drag to resize

SettingsControllerUseDocumentCopy Property

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.

Namespace: Altaxo.Gui.Settings
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public UseDocument UseDocumentCopy { set; }

Property Value

UseDocument

Implements

IMVCANControllerUseDocumentCopy
Remarks
If set to Copy, a copy of the document is used. If the controller is not applied, all changes can be reverted. If set to Directly, no copy is made. The document is changed directly by the controller, and changes cannot be reverted. Use Directly if a controller higher in the hierarchy has already made a copy of the document.
See Also