Visual Basic (Declaration) | |
---|---|
Public Property HasUndoManager As Boolean |
C# | |
---|---|
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.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.