GoXam for WPF v3
HasUndoManager Property
Northwoods.GoXam.Model Namespace > DiagramModel Class : HasUndoManager Property
Gets or sets a flag that enables or disables support for undo and redo.
Syntax
public bool HasUndoManager {get; set;}

Property Value

Initially this property is false. Changing it to true will create a new undo/redo manager and set the UndoManager property, if there is not already a value for that property. Changing it to false will remove any undo/redo manager.
Remarks

This is just a more convenient way to enable undo/redo support, instead of creating an UndoManager and setting the property in XAML using property element syntax.

Setting this property does not raise a Changed event. Setting this property may also change the value of UndoManager.

See Also

Reference

DiagramModel Class
DiagramModel Members
UndoManager Property