GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoDocument Class / SerializesUndoManager Property
In This Topic
    SerializesUndoManager Property
    In This Topic
    Gets or sets whether the UndoManager is serialized when the document is.
    Syntax
    [Description("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.
    See Also