GoDiagram Win Reference
SerializesUndoManager Property

Gets or sets whether the UndoManager is serialized when the document is.
Syntax
'Declaration
 
<DescriptionAttribute("Whether the UndoManager is serialized along with the document")>
Public Property SerializesUndoManager As Boolean
[DescriptionAttribute("Whether the UndoManager is serialized along with the document")]
public bool SerializesUndoManager {get; set;}

Property Value

The default value is false for Windows Forms but is true for Web Forms.
Remarks
If you set this to true, you will need to make sure that all GoChangedEventArgs that are remembered as changes by the undo manager are themselves serializable. This might be a problem if you are tracking a field that has a non-serializable value, since those values are naturally remembered by the GoChangedEventArgs. No Changed event is raised when this property is set.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoDocument Class
GoDocument Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback