Northwoods.GoWPF 2.2.4 Assembly
HasUndoManager Property

Gets or sets a flag that enables or disables support for undo and redo.
Syntax
Public Property HasUndoManager As Boolean
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.

Requirements
See Also

Reference

DiagramModel Class
DiagramModel Members
UndoManager Property

 

 


© Northwoods Software 2017. All Rights Reserved.

Send Feedback