Northwoods.GoSilverlight 1.3.5 Assembly
HasUndoManager Property
See Also  Send Feedback
Northwoods.GoXam.Model Namespace > DiagramModel Class : HasUndoManager Property

Gets or sets a flag that enables or disables support for undo and redo.

Syntax

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.

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

© 2012 All Rights Reserved.